Switch "smoothly" between two signals without introducing discontinuities?

Hello!
I am trying to switch between two signals in my model using a "Switch" block. However the "Switch" block introduces discontinuities in my model which make my simulation go really slow. I tried adding a rate limiter on the output of the signal from the switch but matlab still says that there are discontinuities. I wonder if there is another way of switching more "smoothly" between my signal without introducing discontinuities?
Appreciate any help Br. Martin

Réponses (1)

You can insert a Rate Limiter block following the Switch block, so that the discontinuities are smoothed.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by