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))
ans =
7 6 5 4
|
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))
ans =
6 5 4
|
15295 Solvers
1050 Solvers
Back to basics 9 - Indexed References
392 Solvers
Sum the elements in either diagonal of a square matrix
178 Solvers
Compute LOG(1+X) in natural log
204 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!