This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [1 3 6 9 11];
y_correct = [1 3 6 9 11; 0 3 6 9 11; 0 0 6 9 11; 0 0 0 9 11; 0 0 0 0 11]
assert(isequal(your_fcn_name(x),y_correct))
y_correct =
1 3 6 9 11
0 3 6 9 11
0 0 6 9 11
0 0 0 9 11
0 0 0 0 11
|
17210 Solvers
874 Solvers
Project Euler: Problem 7, Nth prime
521 Solvers
4325 Solvers
Replace every 3rd element in a vector with 4
170 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!