How to generate a randomized signal?
1 view (last 30 days)
Show older comments
I am trying to generate something like this:
I want the baseline to be zero, but have randomized sinusoidal fluctuations (in terms of amplitude and frequency) at random locations with random width. In other words, I want the following parameters to be random:
excitation frequency, excitation amplitude, excitation duration (width), and excitation location
As stated before, I want the excitation to be sinusoidal. I generated the signal in the image above, but I defined the values of the parameters.
Can anyone help me with the code for this? I have some preliminary code, but its not much and I am stuck.
EDIT: Some additional information:
I want there to be 3000 excitations, and the duration to be quite long.
0 Comments
Answers (0)
See Also
Categories
Find more on Fourier Analysis and Filtering in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!