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

1 次查看(过去 30 天)
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 个)

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

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by