How do I stop a signal after a fixed time and let the simulation continue?

31 views (last 30 days)
Hi,
I have a fairly simple problem. Consider I have two signals: a sine wave and a step function. If my simulation time is 100 seconds, how do I get the input signal to be the sine wave for the first 50 seconds and then switch to the step function for the final 50 seconds?

Accepted Answer

Paul
Paul on 4 Jan 2021

More Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!