Return signal to zero - Simulink
이전 댓글 표시
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 ?
답변 (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
Bharat
2011년 4월 11일
Paulo Silva
2011년 4월 11일
I added one example how it can be done
Arnaud Miege
2011년 4월 11일
Also have a look at the demo mode "sldemo_zeroxing.mdl" that ships with Simulink.
Bharat
2011년 4월 11일
카테고리
도움말 센터 및 File Exchange에서 Sources에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!