Determine whether or not an array of six is changing from live data collection

1 visualizzazione (ultimi 30 giorni)
Hello All:
I am currently trying to write code that would determine whether or not live data, in the form of an array of six, is changing its values. The data is being collected by sensors so thus far I have attempted to create a function...but can't get this part down. So my question is how would Determine whether or not an array of six is changing from live data collection? if you need more data to be able to answer the question please let me know. Thank you ALL!

Risposta accettata

Walter Roberson
Walter Roberson il 16 Mar 2012
if isequal(olddata, newdata) then either the data has not changed or else it changed to exactly the same value it was before.

Più risposte (0)

Categorie

Scopri di più su Matrices and Arrays in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by