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

1 Ansicht (letzte 30 Tage)
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!

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Matrices and Arrays finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by