Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
n = 10;
y_correct = [1 2 3 4 5 6 7 8 9 10];
assert(isequal(first_n_natural_nos(n),y_correct))
|
2 | Pass |
n = 4;
y_correct = [1 2 3 4];
assert(isequal(first_n_natural_nos(n),y_correct))
|
Project Euler: Problem 5, Smallest multiple
397 Solvers
Back to basics 6 - Column Vector
908 Solvers
2814 Solvers
Check if number exists in vector
4470 Solvers
Given a 4x4 matrix, swap the two middle columns
516 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!