Hello having the power spectral density data (like what we get from pwelch) is it possible to retrieve the original time history. I have obtained the spectrum using pwelch, have done some modifications directly on the spectrum and now want to find the time history data which can build such a spectrum, actually going the reverse path from spectrum to the original signal.
John Williams answered .
2025-11-20
t = 0:0.01:0.99; x1 = sin(2*pi*10*t); x2 = sin(2*pi*10*t+pi/6); P1 = periodogram(x1,[],100); P2 = periodogram(x2,[],100); max(abs(P1-P2)) figure; subplot(211); periodogram(x1); subplot(212); periodogram(x2);