Getting statistical Parameters from PSD plots

I have a plot of the Power Spectral density using the fft algorithm. How would I write a code that will calculate the mean, min, max, range and standard deviation of the power. I also want to add these values to the plot.

 Accepted Answer

Hi Temisanren,
Kindly refer to the MathWorks Documentation for calculating descriptive statistics:
and see if this helps.
-Aiswarya

More Answers (0)

Community Treasure Hunt

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

Start Hunting!