Power Spectral Density In Mathlab Calculation