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

1 回表示 (過去 30 日間)
Igor Batoukhtine
Igor Batoukhtine 2016 年 4 月 5 日
回答済み: Joachim Schlosser 2016 年 4 月 5 日
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 件のコメント
Orion
Orion 2016 年 4 月 5 日
Hi,
your question is not clear.
Do you want to saturate the output of a simulink model between two limits ?

サインインしてコメントする。

回答 (1 件)

Joachim Schlosser
Joachim Schlosser 2016 年 4 月 5 日
Without directly answering what almost looks like a homework question: Look for interpolation functions in MATLAB documentation.

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by