Chiamata MATLAB Function zero-cross detection
3 次查看(过去 30 天)
显示 更早的评论
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
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 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!