Change Power Spectrum to frequency spectrum in Signal Analyzer
1 view (last 30 days)
Show older comments
I'm using Signal Analyzer to compute frequency spectrum, but the app gives me power spectrum in dB, can anyone help to change from power spectrum (dB) in normalized frequency spectrum?
0 Comments
Answers (1)
Yukthi S
on 15 Feb 2024
Hi Marco Cesari
I got that you were trying to compute Frequency spectrum, but the Signal Analyzer app was giving an output of Power Spectrum in dB.
By ‘Frequency spectrum’, I am assuming that you meant plotting a signal’s amplitude or phase in frequency domain. For that purpose,you can use “fft” function available in MATLAB.
y=fft(x)
The Signal Analyzer app is used to just visualise the spectrum in different domains. It is used to explore, analyse and compare signals or regions of interest. You can have a look at the description of Signal Analyzer app here for more insights:
You can refer to the below documentation for more information on “fft” function:https://in.mathworks.com/help/releases/R2021b/matlab/ref/fft.html?searchHighlight=fft&s_tid=doc_srchtitle#:~:text=Product%20Updates-,fft,-Fast%20Fourier%20transform
0 Comments
See Also
Categories
Find more on Spectral Measurements 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!