MATLAB Answers

Linear Function Input in SimuLink

24 views (last 30 days)
Shay on 24 May 2020
Commented: Shay on 24 May 2020
We usually supply a step function or square pulse train input into our SimuLink models for a system. Does anyone know how to supply a linear function input such as y=2*x+c over a specific range say t= 0:10 into our system models in Simulink?


Sign in to comment.

Accepted Answer

rubindan on 24 May 2020
There are som many ways to do that. To name a few, you can use a
  • From Worksapce block to input whatever input you want as a function of time
  • Clock block and basic math operations
  • Signal Builder block to graphically design your input

  1 Comment

Shay on 24 May 2020
Thank you for the reply, was unsure on this topic.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!