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

5 ビュー (過去 30 日間)
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!

採用された回答

Walter Roberson
Walter Roberson 2012 年 3 月 16 日
if isequal(olddata, newdata) then either the data has not changed or else it changed to exactly the same value it was before.
  2 件のコメント
Frandy
Frandy 2012 年 3 月 16 日
Thanks a bunch Walter much appreciated!
Frandy
Frandy 2012 年 3 月 16 日
Also how would i put that into function form?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by