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 |
n = 500;
y_correct = 2.3769;
assert(isequal(my_matrix(n),y_correct))
y =
2.3769
|
Project Euler: Problem 1, Multiples of 3 and 5
1063 Solvers
145 Solvers
Switch matrix to a column vector
189 Solvers
324 Solvers
95 Solvers