How can i locate where two column values are the same in a row?
1 回表示 (過去 30 日間)
古いコメントを表示
I have a column of 400 numbers that vary depending on input and i want to detect when the become constant (towards the end).
1 件のコメント
採用された回答
JESUS DAVID ARIZA ROYETH
2019 年 12 月 4 日
a=[1 2 3 4 4 4 4];
s=find([diff(a) 1]==0,1,'first')
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Propagation and Channel Models についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!