MATLAB Answers

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

6 views (last 30 days)
Igor Batoukhtine
Igor Batoukhtine on 5 Apr 2016
Hello,
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

Orion
Orion on 5 Apr 2016
Hi,
your question is not clear.
Do you want to saturate the output of a simulink model between two limits ?

Sign in to comment.

Answers (1)

Joachim Schlosser
Joachim Schlosser on 5 Apr 2016
Without directly answering what almost looks like a homework question: Look for interpolation functions in MATLAB documentation.

  0 Comments

Sign in to comment.

Sign in to answer this question.