How to create random step signal?
이전 댓글 표시
Doing Project on Deregulation with random variable load ... need step load perturbation block can you please help me to create it
답변 (1개)
Kaustav Bhattacharya
2019년 7월 8일
0 개 추천
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
카테고리
도움말 센터 및 File Exchange에서 Signal Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!