Info

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

What are the row and column subscripts needed to access the 167th element of the fourth cell

조회 수: 1 (최근 30일)
the value shows up in vectors.

답변 (1개)

dpb
dpb 2017년 9월 1일
All depends on what the array dimensions are; you don't need them anyway if you wish the Nth element, just use one-dimensional subscripting and Matlab will just do the right thing.
If you do want the subscripts for some other purpose, see
doc sub2ind
doc ind2sub
for the case to translate to/from one representation to the other.

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by