How to create random step signal?

8 ビュー (過去 30 日間)
achuth varma
achuth varma 2019 年 7 月 6 日
回答済み: Kaustav Bhattacharya 2019 年 7 月 8 日
Doing Project on Deregulation with random variable load ... need step load perturbation block can you please help me to create it

回答 (1 件)

Kaustav Bhattacharya
Kaustav Bhattacharya 2019 年 7 月 8 日
To create a random step signal, you can write an infinite loop within which : generate a random value (within your limits) use that as the signal, use the pause command to stop for a specific interval after which you want the signal to change.
while
% generate random number
pause(1) %pauses for 1 ses
end

カテゴリ

Help Center および File ExchangePulse and Transition Metrics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by