How to create a signal using step block in simulink where the input is varying

54 ビュー (過去 30 日間)
ubaid haroon
ubaid haroon 2016 年 2 月 1 日
回答済み: Kiran 2016 年 2 月 11 日
I am trying to create a Step function in Simulink that goes from 0 to 4 seconds and step is changing 1 second. I want step to change by [0 2 1 -1 0] (the y value) How can I incorporate an array in step? If possible can I use the sum block? if yes, then how?

採用された回答

Kiran
Kiran 2016 年 2 月 11 日
Hi, You can easily do this by using "Signal Builder" block. You can just double click the block and adjust the signal as per your requirement. Check the attached model for simple example.

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by