Info
此问题已关闭。 请重新打开它进行编辑或回答。
How can I keep two indices preserved in MATLAB ?
1 次查看(过去 30 天)
显示 更早的评论
Hi All,
This is a snapshot of the table that I am working on.
I need the indices of the [row] and [column] BOTH columns of the table to be preserved when I move on to the next iteration.
Simply, for B = 0.0891 I should be able to tell that row = 1 and column = 2, once after I move on to the next iteration, but the position of that element in the next iteration migh not be at the first place as in this case.
I hope you got my question.
Thank you.
This is the table that I am discussing about.....
7 个评论
Walter Roberson
2019-11-13
ismember the moved data against the original data and take the second output to get the linear index in the original data.
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!