Problem 2091. return row and column indices given 2 values which define a range

Inspired by problem http://www.mathworks.co.kr/matlabcentral/cody/problems/856-getting-the-indices-from-a-matrice Inputs: - matrix A, lower limit, upper limit Ouputs: - indices of matrix elements which are bigger than or equal to lower limit and smaller than upper limit
A little complication: let your function be able to deal with a random order of the input arguments.
If all input arguments have the same size, assume that the first argument is the "matrix" with value(s).
Don't use "find" and don't use "regexp".

Solution Stats

23.53% Correct | 76.47% Incorrect
Last Solution submitted on Jan 13, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers65

Suggested Problems

More from this Author10

Community Treasure Hunt

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

Start Hunting!