HOW TO PLOT A CHIRP SIGNAL WITH BIDIRECTIONAL SWEEP

4 views (last 30 days)
in matlab only linear chirp with uni directional sweep is present but i want a chirp with bidirectional sweep how is possible to obtain one???

Accepted Answer

Honglei Chen
Honglei Chen on 8 Mar 2012
You can connect two signals together. Say you want to sweep from 0 to 100 Hz in 1 seconds and then sweep down.
T1 = 1;
F0 = 0;
F1 = 100;
T = 0:0.001:0.999
Y = [chirp(T,F0,T1,F1) chirp(T,F1,T1,F0)]
plot(0:0.001:1.999,Y)

More Answers (0)

Community Treasure Hunt

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

Start Hunting!