Amplitude White noise in Simulink Matlab

3 views (last 30 days)
Mohamadreza Golbaba
Mohamadreza Golbaba on 30 Jul 2021
Answered: Kothuri on 23 Aug 2024
I want to add colored noise to the step signal when I use White noise inside Simulink it has 1/-1 amplitude I want to reduce this amplitude like pink noise which has 0.05/-0.05 amplitude
White noise
white noise
pink noise
pink noise

Answers (1)

Kothuri
Kothuri on 23 Aug 2024
I understand that you would want to reduce the amplitude of white noise as that of pink noise.
This can be done with the help of “Gain” block to scale down the amplitude.
You can follow the following steps:
  • In Simulink, add a Gain block to your model.
  • Set the gain value to 0.05. This will scale down the amplitude of your white noise from 1/-1 to 0.05/-0.05.
  • Connect the output of your white noise generator to the input of the Gain block, and then connect the output of the Gain block to the step signal.
Below documentation provides info on “Gain” block

Categories

Find more on Simulink in Help Center and File Exchange

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!