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

1 view (last 30 days)
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.

Categories

Find more on Simulink in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!