Creating a chirp signal

3 次查看(过去 30 天)
Brian Aguilar
Brian Aguilar 2016-9-20
create a chirp signal x1(t) that has the following property: • At time t = 0, the instantaneous frequency is 4.4 KHz. and then increases linearly from 4.4 KHz. to 5.5 KHz. in a duration of one second.
I have created my signal in the following format, coded:
fs = 14400;
Ts=1/fs;
f0 = 440;
t=0:Ts*72:1;
x_0 = cos(2*pi*f0*t);
plot(t,x_0)
soundsc(x_0,fs)
Im not sure how to create a chirp signal from this with a instantaneous frequency. Need a little help approaching this problem.

回答(1 个)

Amal George M
Amal George M 2019-4-11
MATLAB has a built in function 'chirp', which might be worth exploring.
fs = 14400;
Ts=1/fs;
t=0:Ts:1;
y=chirp(t,4400,1,5500,'linear');
plot(t,y)
soundsc(y,fs)

类别

Help CenterFile Exchange 中查找有关 Spectral Measurements 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by