How to get only envelope spectrum plot, not the envelope signal
Ältere Kommentare anzeigen
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 Kommentare
Mathieu NOE
am 26 Okt. 2020
hello
yes your are using the right function , but what is your problem ? the function does what you need...
Atik Faysal
am 26 Okt. 2020
Mathieu NOE
am 26 Okt. 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
am 27 Okt. 2020
Mathieu NOE
am 27 Okt. 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.
Antworten (0)
Kategorien
Mehr zu Digital Filtering finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!