Return signal to zero - Simulink
Mostra commenti meno recenti
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 ?
Risposte (1)
Paulo Silva
il 11 Apr 2011
(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 Commenti
Bharat
il 11 Apr 2011
Paulo Silva
il 11 Apr 2011
I added one example how it can be done
Arnaud Miege
il 11 Apr 2011
Also have a look at the demo mode "sldemo_zeroxing.mdl" that ships with Simulink.
Bharat
il 11 Apr 2011
Categorie
Scopri di più su Simulink in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!