How to use a Spectrum scope in Matlab Simulink

21 vues (au cours des 30 derniers jours)
!ntel
!ntel le 15 Oct 2013
Modifié(e) : Andreas Goser le 15 Oct 2013
Hello I am learning the matlab and I want to plot the frequency spectrum of a simple sine wave signal in simulink. I am using the spectrum scope but i could not see any graph turning up what is the problem?? In what way should I use to get it worked...
Can any one please help
Thanks in advance

Réponses (1)

Andreas Goser
Andreas Goser le 15 Oct 2013
Modifié(e) : Andreas Goser le 15 Oct 2013
My suggestion is you open an example model (AKA demo) and see how the block works and what may be different in what you tried. Open
lmsadtde
This has a "Spectrum Analyzer" block (so it is called in my R2013a installation. You may want to switch the follwing settings in order to compare the demo and your model:
Menu Display -> Signals & Ports -> Port Data Types
Menu Display -> Signals & Ports -> Signal Dimensions

Community Treasure Hunt

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

Start Hunting!

Translated by