Cody

Solution 2645399

Submitted on 2 Jul 2020
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Fail
M = magic(5) LB = 3; UB = 10; AI = find((M > LB) & (M < UB)); assert(isequal(absoluteInBetween(M, LB, UB),AI))

Error in solution: Line: 2 Column: 19 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

2   Fail
M = magic(10) LB = 3; UB = 10; AI = find((M > LB) & (M < UB)); assert(isequal(absoluteInBetween(M, LB, UB),AI))

Error in solution: Line: 2 Column: 19 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.