MATLAB Answers

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

18 views (last 30 days)
Vikram Rout
Vikram Rout on 4 Jan 2021
Answered: Paul on 4 Jan 2021
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?


Sign in to comment.

More Answers (0)




Community Treasure Hunt

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

Start Hunting!