find subscripts from linear index - MATLAB Cody - MATLAB Central

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

41.67% Correct | 58.33% Incorrect
Last Solution submitted on Mar 05, 2023

Problem Comments

Solution Comments

Show comments
PIVlab surpasses 100K all-time File Exchange downloads
During the past twelve months, PIVlab, a MATLAB Community Toolbox for particle...
4
8

Problem Recent Solvers18

Suggested Problems

More from this Author165

Problem Tags

Community Treasure Hunt

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

Start Hunting!