MATLAB Answers


How can I vary my output between two values in Simulink or Matlab?

Asked by Igor Batoukhtine on 5 Apr 2016
Latest activity Answered by Joachim Schlosser on 5 Apr 2016
I want to use a function that allows me to vary the output between two values:
x1 < y(t) < x2
So that y can take any value (based on the input t) between x1 and x2.

  1 Comment

your question is not clear.
Do you want to saturate the output of a simulink model between two limits ?

Sign in to comment.

1 Answer

Answer by Joachim Schlosser on 5 Apr 2016

Without directly answering what almost looks like a homework question: Look for interpolation functions in MATLAB documentation.


Sign in to comment.