Zero crossing detection in Simulink

Hi all. I would like to ask how in Simulink can be detected zero crossing signal. After each pass, I would like to actuate another signal transistor (1 then 2, then 3, etc.) Everything has to work in a loop. (1,2,3 1,2,3 1,2,3 etc)
Thank you for all the ideas Regards Pablo

 採用された回答

Greg Heath
Greg Heath 2014 年 3 月 18 日

0 投票

if(a(i)*a(i+1)<0)
Hope this helps.
Greg

その他の回答 (1 件)

カテゴリ

ヘルプ センター および File ExchangeGeneral Applications についてさらに検索

製品

質問済み:

2014 年 3 月 18 日

回答済み:

2014 年 3 月 20 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by