MATLAB Answers

Creating a chirp signal

73 views (last 30 days)
Brian Aguilar
Brian Aguilar on 20 Sep 2016
Answered: Amal George M on 11 Apr 2019
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.

Answers (1)

Amal George M
Amal George M on 11 Apr 2019
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)

Community Treasure Hunt

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

Start Hunting!