How do you generate a UWB Chirp?
2 ビュー (過去 30 日間)
古いコメントを表示
Hello. I have to generate a chirp from 3.2 Ghz to 3.5 Ghz with a "duration" of 5 time periods and Fs=50e9. I do not know where and how to start. I tried "help chirp" but i cannot understand how to generate the signal i want.
0 件のコメント
採用された回答
Birdman
2018 年 3 月 24 日
You mean this?
f0=3.2e9;
f1=3.5e9;
t=0:50e-9:5*50e-9;
t1=t(end);
y = chirp(t,f0,t1,f1);
plot(t,y)
3 件のコメント
Birdman
2018 年 3 月 26 日
Actually, it has something to do with t vector. If you choose it to have 5*period*sample rate, it is not enough. Try this:
f0=3.2e9;
f1=3.5e9;
t=0:1/50e9:50/50e9;
t1=t(end);
y = chirp(t,f0,t1,f1);
plot(t,y)
Rik
2022 年 6 月 21 日
Deleted comments:
Dear Birdman, first of all thank you for your time and answer. Secondly, when you generate the time vector ( t ), you're doing " t= 0 : sample_rate : 5 period * sample_rate", correct? I have noticed that in your case, it's not 1/50e9, but 50/1e9 . Please correct me if I'm wrong.

When I ran your code I got the signal in the image and I don't think it should look like that. Could you please help me clarify whether the output is good or wrong?
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!