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 Comment

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

Sign in to comment.

Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Asked:

on 15 May 2020

Commented:

on 15 May 2020

Community Treasure Hunt

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

Start Hunting!