How to get only envelope spectrum plot, not the envelope signal
Mostra commenti meno recenti
I am using
envspectrum(signal,samplingFrequency);
To get the envelope spectrum. I just need to plot the envelope spectrum. How can I do that? Also how to modify the scaling?

5 Commenti
Mathieu NOE
il 26 Ott 2020
hello
yes your are using the right function , but what is your problem ? the function does what you need...
Atik Faysal
il 26 Ott 2020
Mathieu NOE
il 26 Ott 2020
so use the following form :
[ES,F] = envspectrum(signal,samplingFrequency);
for different scaling, it depends if you want to normalize to the highest peak or do something else...
for example, if the highest peak must have amplitude = 1
scale _factor = 1./max(ES);
ES = ES*scale _factor ;
then
subplot(....), plot(F,ES);
Atik Faysal
il 27 Ott 2020
Mathieu NOE
il 27 Ott 2020
Just copied the explanantion from another answer :
Make sure you are logged in.
If the question has already been closed you will see "Accepted Answer by ____" to the right of your profile picture where the question is asked.
If not, then look next to the profile picture of the answerer(s). To the right of each person's answer, in green, you should see a box that says "Accept this answer." Push that button.
Risposte (0)
Categorie
Scopri di più su Multirate Signal Processing in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!