Chiamata MATLAB Function zero-cross detection

조회 수: 4 (최근 30일)
leonardo romanelli-niro
leonardo romanelli-niro 2018년 5월 28일
답변: leonardo romanelli-niro 2018년 5월 28일

Salve, Volevo sapere come si fà per eseguire il MATLAB function ogni volta che un segnale passa per lo zero. Inoltre quando viene chiamato il MATLAB function deve eseguire il codice per una volta sola e mantenere i valori delle variabili ottenute fino alla chiamata successiva. Grazie

  댓글 수: 1
Image Analyst
Image Analyst 2018년 5월 28일
"Hi, I wanted to know how to do the MATLAB function every time a signal goes through zero. Furthermore, when the MATLAB function is called, it must execute the code for a single time and keep the values of the variables obtained until the next call. Thank you"
Do you have the entire signal? Or are you just getting one element at a time, like you're reading a voltmeter or some other instrument "live"?

댓글을 달려면 로그인하십시오.

답변 (1개)

leonardo romanelli-niro
leonardo romanelli-niro 2018년 5월 28일
Sto leggendo da un amperometro (Current Measurement). Il segnale è una corrente alternata

Community Treasure Hunt

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

Start Hunting!