Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [12 4 7; 5 1 4];
y_correct = [7 4 12; 4 1 5];
assert(isequal(your_fcn_name(x),y_correct))
|
2 | Pass |
x = [12 4 7 8; 5 1 4 8];
y_correct = [8 4 7 12; 8 1 4 5];
assert(isequal(your_fcn_name(x),y_correct))
|
How to find the position of an element in a vector without using the find function
2320 Solvers
583 Solvers
169 Solvers
579 Solvers
386 Solvers