generate square wave with random amplitude

hi I'm working now in system identification ,and i want to generate a square signal u(t) with random amplitude and Average value u=0;like this image
can someone help me please

回答(2 个)

Several questions:
  1. What sampling rate do you want the signal to have?
  2. What is the frequency of amplitude transitions?
  3. What is the probability distribution of the amplitude values?

类别

帮助中心File Exchange 中查找有关 Linear Model Identification 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by