How do you generate a UWB Chirp?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Please delete
el 24 de Mzo. de 2018
Comentada: Rik
el 21 de Jun. de 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.
0 comentarios
Respuesta aceptada
Birdman
el 24 de Mzo. de 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 comentarios
Birdman
el 26 de Mzo. de 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
el 21 de Jun. de 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?
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!