Bidirectional Linear Sweep
In this example, the Chirp block outputs a bidirectional, linearly swept chirp signal, which is displayed by the Time Scope and the Spectrum Analyzer. You can also export the signal to the MATLAB workspace by the Signal To Workspace block.
To create a bidirectional sweep, set the Sweep mode parameter to
Bidirectional. Specify the final frequency of a bidirectional sweep by setting Target time equal to Sweep time, in which case the Target frequency becomes the final frequency in the sweep. Note that in the bidirectional sweep, the period of the sweep is twice the Sweep time of the unidirectional sweep.
Run the model to see the output in the Time Scope and the Spectrum Analyzer.
You can also view the spectrogram by saving the output to the workspace and using this command: