How to get only envelope spectrum plot, not the envelope signal
Show older comments
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 Comments
Mathieu NOE
on 26 Oct 2020
hello
yes your are using the right function , but what is your problem ? the function does what you need...
Atik Faysal
on 26 Oct 2020
Mathieu NOE
on 26 Oct 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
on 27 Oct 2020
Mathieu NOE
on 27 Oct 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.
Answers (0)
Categories
Find more on Multirate Signal Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!