Chiamata MATLAB Function zero-cross detection
3 views (last 30 days)
Show older comments
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 Comment
Image Analyst
on 28 May 2018
"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"?
Answers (1)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!