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

1 view (last 30 days)
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!

Accepted Answer

Walter Roberson
Walter Roberson on 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.

More Answers (0)

Categories

Find more on Matrices and Arrays in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!