Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How can I keep two indices preserved in MATLAB ?

조회 수: 1 (최근 30일)
Gayan Lankeshwara
Gayan Lankeshwara 2019년 11월 13일
마감: MATLAB Answer Bot 2021년 8월 20일
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.....
Probelm_mATLAB_questions.JPG
  댓글 수: 7
Walter Roberson
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.
Gayan Lankeshwara
Gayan Lankeshwara 2019년 11월 13일
Okay I will try.
Anyway thanks for the support.

답변 (0개)

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by