How to find elements of an Array using indexes.
이전 댓글 표시
I need to find the elements in a 388x2 array by using indexes given by [I]. The indexes can be any number within the 0-388 range and there are 31 total.
댓글 수: 4
James Tursa
2018년 7월 5일
Indexes can't be 0 in MATLAB. Can you give a small example? Normally you would just do something like this:
result = my_array(I,:);
Brandon Bush
2018년 7월 5일
Brandon Bush
2018년 7월 5일
Brandon Bush
2018년 7월 5일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!