How do you generate a UWB Chirp?

조회 수: 1 (최근 30일)
Please delete
Please delete 2018년 3월 24일
댓글: Rik 2022년 6월 21일
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.

채택된 답변

Birdman
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
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
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!

Translated by