User`s guide
Chirp
5-70
specgram(dsp_examples_yout,[0:.01:40],400,hamming(128),110)
Example 2: Bidirectional Sweeps.
Change the Sweep mode parameter in the 
Example 1 model to 
Bidirectional, and leave all other parameters the same to 
view the following bidirectional chirp. Note that in the bidirectional sweep, the 
period of the sweep is twice the 
Sweep time (2 seconds), whereas it was one 
Sweep time (1 second) for the unidirectional sweep in Example 1.
Chirp Block Parameters for Example 1
Frequency sweep Linear
Sweep mode Unidirectional
Initial frequency
0
Target frequency 25
Target time 1
Sweep time 1
Initial phase 0
Sample time 1/400
Samples per frame 400
Vector Scope Block Parameters for Example 1
Input domain Time
Time display span
6
Signal To Workspace Block Parameters for Example 1
Variable name
dsp_examples_yout
Simulation Parameters Dialog Parameters for Example 1
Stop time 5










