How can I change the frequency span in the Spectrum Analyzer?

I am using the Spectrum Analyzer from the Simscape > Utilities library to view the spectrum of my signal.
I would like to be able to change its frequency span, how can I do this?

 Accepted Answer

With DSP System Toolbox:
If the DSP System Toolbox is installed, the frequency spectrum of the signal can be directly modified in the Spectrum Analyzer by following these steps:
  1. In the Spectrum Analyzer navigate to  View > Spectrum Settings.
  2. In the new panel on the right in the Main Options uncheck the “Full frequency span” box. This will display some additional fields that can be used to modify the frequency span of the plot.
Without DSP System Toolbox:
If the DSP System Toolbox is not installed, it is not possible to change the frequency span directly in the Spectrum Analyzer. This is because without DSP System Toolbox the Spectrum Analyzer provides only basic options for signal processing.
As a workaround, the plot from the Spectrum Analyzer can be exported to MATLAB as a figure and there the x-axis limits can be changed. Note that DSP System Toolbox is recommended if the workflow requires more advanced signal processing. 

More Answers (0)

Products

Release

R2021b

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!