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

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

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)

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

Asked:

on 5 Apr 2016

Community Treasure Hunt

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

Start Hunting!