Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
A = [1 2 3 4 5 6 7 8];
B = [4 5 6 6 7 0 12 34];
y_correct = [7 6 5 4];
assert(isequal(your_fcn_name(A,B),y_correct))
|
2 | Pass |
A = [1 2 3 4 5 6 71 8];
B = [4 5 6 6 7 0 12 34];
y_correct = [6 5 4];
assert(isequal(your_fcn_name(A,B),y_correct))
|
How to find the position of an element in a vector without using the find function
2477 Solvers
The Answer to Life, the Universe, and Everything
383 Solvers
Is this triangle right-angled?
2394 Solvers
241 Solvers
147 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!