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
-
2175 Solvers
-
992 Solvers
-
Create a matrix X, where each column is a shifted copy of the vector v
221 Solvers
-
469 Solvers
-
Let's get back to school, and create multiplication tables
235 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!