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