Hi, I am doing PSD (ms2) analysis for the frequency spectrum attached in the figure. I am able to find PSD but the results are not in PSD(ms2).
Here is the code:
[pxx,f] = pwelch(rwave_decimate_1,,,,fs/N);
var = var + (pxx(j)-M)^2;
It plots the PSD as in the attached figure. however, I want PSD in (ms2 or s2) on yaxis as in the figure 2, to make proper analysis on LF/HF region. Also, how can I highlight the LF and HF region with some shadded areas as in the figure2 ?
:- ms2 = mean-variance square
it would be appreciated if someone give solution.
Thanks in the advacnce.