File Exchange

image thumbnail

One-point random process generation

version 1.0 (60.4 KB) by E. Cheynet
Minimalist Matlab implementation of a random process generation in one point using the spectral method

11 Downloads

Updated 11 Jun 2020

GitHub view license on GitHub

A stationary Gaussian random process is generated using the spectral method. This means that the function requires only two inputs: the target power spectral density (PSD) and the associated frequency vector.

The present submission contains:
- The function randomProcess.m, which generates the (random) time series associated with a target PSD
- An example file Documentation.mlx, which illustrates the generation of the random process using the case of atmospheric turbulence
- The function getSamplingPara.m, which computes the target frequency vector and the associated time vector.

Any question, suggestion or comment is welcome.

Cite As

Cheynet, E. Minimalist Matlab Implementation of a Random Process Generation in One Point. Zenodo, 2020, doi:10.5281/ZENODO.3890406.

View more styles

Comments and Ratings (3)

Shuai Huang

Yulong ZHANG

Pablo Silva

MATLAB Release Compatibility
Created with R2019b
Compatible with R2018a and later releases
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: Stationarity test

Community Treasure Hunt

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

Start Hunting!