Chiamata MATLAB Function zero-cross detection

3 visualizaciones (últimos 30 días)
leonardo romanelli-niro
leonardo romanelli-niro el 28 de Mayo de 2018
Respondida: leonardo romanelli-niro el 28 de Mayo de 2018

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 comentario
Image Analyst
Image Analyst el 28 de Mayo de 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"?

Iniciar sesión para comentar.

Respuestas (1)

leonardo romanelli-niro
leonardo romanelli-niro el 28 de Mayo de 2018
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!