solution test 2 has mistake
y_correct = [-1 -1 -1 -2 -2 -2 -2 5 5 5 5 5 ;
there should be ] at the end
Project Euler: Problem 6, Natural numbers, squares and sums.
1018 Solvers
Back to basics 6 - Column Vector
908 Solvers
249 Solvers
Duplicate each element of a vector.
518 Solvers
111 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!