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

4 views (last 30 days)
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 on 5 Apr 2016
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.


Find more on General Applications in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!