generate square wave with random amplitude

11 views (last 30 days)
younes elkhlifi
younes elkhlifi on 26 Mar 2012
Answered: Sena Koçak on 12 Jan 2022
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

Answers (2)

Rick Rosson
Rick Rosson on 26 Mar 2012
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?

Sena Koçak
Sena Koçak on 12 Jan 2022


Find more on Linear Model Identification 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!

Translated by