How do you generate a UWB Chirp?

2 views (last 30 days)
Please delete
Please delete on 24 Mar 2018
Commented: Rik on 21 Jun 2022
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.

Accepted Answer

Birdman
Birdman on 24 Mar 2018
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 Comments
Birdman
Birdman on 26 Mar 2018
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
Rik on 21 Jun 2022
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?

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!