TimeseriesFromPSD(S​xx, fs, T, plot_on)

Create timeseries from a given double-sided PSD

Download
Download

You are now following this Submission

Cite As

Michael (2026). TimeseriesFromPSD(Sxx, fs, T, plot_on) (https://uk.mathworks.com/matlabcentral/fileexchange/47342-timeseriesfrompsd-sxx-fs-t-plot_on), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Fourier Analysis and Filtering in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.5.0

Version 2: resample Sxx based on input T

Download
1.4.0

Added example in code, and made extra sure everything checks out based on what you input, and cleaned up comments.

Download
1.3.0

Modified code and comments to make it easier to follow. Corrected some of the scaling factors so that generated timeseries is in the proper units and is scaled correctly.

Download
1.2.0

Make sure you get back to original units in time domain. Take note the beginning and end will have ringing, an artifact of the IFFT.

Download
1.1.0

Fixed error to PSD input definition.

Download
1.0.0

Download