User`s guide
Chirp
5-71
Open the Example 2 model by clicking here in the MATLAB Help Browser. 
Run your model to see the time domain output, and then type the following 
command to view the chirp output spectrogram.
specgram(dsp_examples_yout,[0:.01:40],400,hamming(128),110)
Example 3: When Sweep Time is Greater Than Target Time.
Setting Sweep time to 1.5 
and leaving the rest of the parameters as in the Example 1 model gives the 
following output. The sweep still reaches the 
Target frequency (25 Hertz) at 
the 
Target time (1 second), but since Sweep time is greater than Target time, 
the sweep continues on its linear path until one 
Sweep time (1.5 seconds) is 
traversed. 
Unexpected behavior may arise when you set 
Sweep time greater than Target 
time
; see “Example 4: Output Sweep with Negative Frequencies” for details.
TIME (s)
FREQUENCY
0 1 2 3 4 5
0
5
10
15
20
25
30
35
40
0 1 2 3 4 5 6
−10
−5
0
5
10
Frame: 6
TIME (s)
AMPLITUDE










