필터 지우기
필터 지우기

What are the index subscripts (row, column) for the 454th element in matrix M

조회 수: 1 (최근 30일)
Ngoc Le
Ngoc Le 2017년 8월 31일
댓글: Jan 2017년 8월 31일
What are the index subscripts (row, column) for the 454th element in matrix M
  댓글 수: 3
Jan
Jan 2017년 8월 31일
Is this a homework? Then mention this, because then a specific kind of answering is useful. Do you want to get the 2 values? Or some code to produce them? Or do you want some hints, such that you can write the code by your own and submit it without cheating?

댓글을 달려면 로그인하십시오.

답변 (1개)

Chad Greene
Chad Greene 2017년 8월 31일
That depends on the size of the matrix M. If you know the size of M, use ind2sub to find out the row and column.

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by