- In the Signal Analyzer app, navigate to the "Display" tab in the top toolbar and click on "Spectrum" to plot the frequency spectrum for your selected signal.
- In the "Display" tab, click "Generate Script" > "Spectrum Script" to generate a MATLAB script that computes the frequency spectrum of your selected signal. This computed frequency spectrum is not in dB units, and the frequency scale is "Linear".
- You can manually transform the frequency-axis of the computed frequency spectrum to an n-octave scale by taking the n-th logarithm.
- You can now plot the frequency spectrum with an n-octave frequency scale in MATLAB, outside of the Signal Analyzer.
How can I plot a signal spectrum with an n-octave frequency scale in the Signal Analyzer?
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 15 Jan 2025
Réponse apportée : MathWorks Support Team
le 28 Jan 2025
I would like to visualize a signal spectrum in the Signal Analyzer with a frequency-spectrum plot that uses n-th octave bands in the frequency scale.
How can I achieve this?
Réponse acceptée
MathWorks Support Team
le 15 Jan 2025
The Signal Analyzer currently only supports "Linear" and "Log" frequency scales. Our Development team is aware of this issue, and is considering plans to potentially expand the options for the frequency scale in the Signal Analyzer to n-octaves, for a future MATLAB release.
To plot the spectrum with an n-octave frequency scale, follow the below workaround:
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Octave dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!