Clear Filters
Clear Filters

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

1 view (last 30 days)
What are the index subscripts (row, column) for the 454th element in matrix M
  3 Comments
Jan
Jan on 31 Aug 2017
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?

Sign in to comment.

Answers (1)

Chad Greene
Chad Greene on 31 Aug 2017
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.

Tags

Community Treasure Hunt

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

Start Hunting!