フィルターのクリア

How to use find function to find consistent value in column?

3 ビュー (過去 30 日間)
Franchesca
Franchesca 2014 年 5 月 15 日
回答済み: Sean de Wolski 2014 年 5 月 15 日
How do I find when a value in a matrix is the same (+ or - 5%) for say 20 rows?
I have this code so far:
%% Find start of jump
st = find(mydata(:,5),
but I don't know how to finish the find function of to find when the value of the rows is constant (+ or - 5%) for 20 rows for example.

採用された回答

Sean de Wolski
Sean de Wolski 2014 年 5 月 15 日
Look at diff() This will tell you the difference between rows.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by