Return signal to zero - Simulink
16 ビュー (過去 30 日間)
古いコメントを表示
I need to return a signal (whose value is randomly changing )to zero when a certain condition is satisfied in the model . Is there a block I can use to return the value to zero ?
0 件のコメント
回答 (1 件)
Paulo Silva
2011 年 4 月 11 日
(Signal)-------------------->
[Product] -----> (Output)
(condition)->
(1)-> [Switch]------->
(0)->
When the condition is true the switch changes input from constant 1 to 0 so the Output is 0, if condition is false switch input is 1 and Output will be the signal.
4 件のコメント
Arnaud Miege
2011 年 4 月 11 日
Also have a look at the demo mode "sldemo_zeroxing.mdl" that ships with Simulink.
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!