Get column E based on transition in Column I
1 回表示 (過去 30 日間)
古いコメントを表示
Hello,
I have imported a spreadsheet into Matlab and am trying to look at where column I transitions from a 1 to a 0.
When that transition is determined, I then need to take the value of column E.
Could anyone help me do this? I have attached an image to this request.
Thank you in advance!
0 件のコメント
採用された回答
Dyuman Joshi
2022 年 9 月 20 日
y=[1 1 1 1 1 0 0 0 0 1 1 0 1 0 1 1 0 0 0 0 0 0 0];
i=find(diff(y)==-1)+1
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Introduction to Installation and Licensing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!