Using a part of a signal simulink
1 回表示 (過去 30 日間)
古いコメントを表示
Hi, I'm trying to use an integrator in simulink and I have a problem due to inf/nan errors. So overcome that I want to integrate only a part of the signal, is there a way to "trim" the signal or to limit it to specific times of integraion?
Thank you!
0 件のコメント
回答 (5 件)
Sean de Wolski
2014 年 6 月 24 日
Perhaps a "Selector" block to select just the part you want (like an index).
0 件のコメント
A Jenkins
2014 年 6 月 24 日
How about just using a switch, and flipping the switch when your value exceeds the threshold?
In the case below, I am integrating only the parts of the sine wave that are less than 1:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/175154/image.jpeg)
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Interactive Model Editing についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!