Zero crossing detection in Simulink

조회 수: 9 (최근 30일)
Pablo
Pablo 2014년 3월 18일
답변: Kaustubha Govind 2014년 3월 20일
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일
if(a(i)*a(i+1)<0)
Hope this helps.
Greg

추가 답변 (1개)

Kaustubha Govind
Kaustubha Govind 2014년 3월 20일
See the Hit Crossing block.

카테고리

Help CenterFile Exchange에서 General Applications에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by