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

답변 (1개)

Kaustubha Govind
Kaustubha Govind 2012년 2월 17일

0 개 추천

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

카테고리

질문:

2012년 2월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by