create a signal input time function

i am tring to make the input signal 0.075*(1-cos(pi*t)) but the output is always 1, I am using the automatic solver, what should I do?

1 个评论

Hello
I could not recreate the problem. But you can try to set the "Max step size" to 0.01. You can find it in "Solver details", underneath "Solver selection", where the automatic solver is selected

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by