MATLAB Answers

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

139 views (last 30 days)
ubaid haroon
ubaid haroon on 1 Feb 2016
Answered: Kiran on 11 Feb 2016
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?

  0 Comments

Sign in to comment.

Accepted Answer

Kiran
Kiran on 11 Feb 2016
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 Comments

Sign in to comment.

More Answers (0)