Generating artificial (synthetic) time series for spectral analysis

12 views (last 30 days)
Hello, I am attempting to create a synthetic time series to perform spectral analysis (FFT and Lomb-Scargle) on. Ideally, this time series will have three frequencies in it plus noise. I can generate an artificial time series using rand function, but I do not know how to incorporate specific frequencies and noise (this seems like a different process than rand. Any help would be greatly appreciated!

Answers (1)

Stephan
Stephan on 27 Mar 2019

Community Treasure Hunt

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

Start Hunting!