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

Inspired by problem 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

45.45% Correct | 54.55% Incorrect
Last solution submitted on Mar 28, 2016

Solution Comments

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

Join the 15-year community celebration.

Play games and win prizes!

Learn more