Problem 45197. find subscripts from linear index
a matrix and the linear index of an element is given as input. find the subscripts of that element. if linear index=3 , output=[3;1]
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers18
Suggested Problems
-
Longest run of consecutive numbers
6384 Solvers
-
Rotate input square matrix 90 degrees CCW without rot90
674 Solvers
-
Replace multiples of 5 with NaN
463 Solvers
-
07 - Common functions and indexing 2
421 Solvers
-
Side of an equilateral triangle
6829 Solvers
More from this Author174
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!