This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 1;
y_correct = 3;
assert(isequal(times_3(x),y_correct))
|
Project Euler: Problem 6, Natural numbers, squares and sums.
1018 Solvers
Flip the vector from right to left
2666 Solvers
286 Solvers
Test Problem; Create a 5x5 array containing all ones
270 Solvers
443 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!