How to generate a randomized signal?

1 次查看(过去 30 天)
Sarah
Sarah 2013-2-27
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 个)

类别

Help CenterFile Exchange 中查找有关 Fourier Analysis and Filtering 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by