Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [1 2];
y = [2;3];
z_correct = 8;
assert(isequal(in_prod(x,y),z_correct))
|
2 | Pass |
x = -5;
y = 100;
z_correct = -500;
assert(isequal(in_prod(x,y),z_correct))
|
3 | Pass |
x = [1 2 3];
y = [2;3];
assert(isStringScalar(in_prod(x,y)))
|
Project Euler: Problem 10, Sum of Primes
707 Solvers
middleAsColumn: Return all but first and last element as a column vector
387 Solvers
We love vectorized solutions. Problem 1 : remove the row average.
546 Solvers
367 Solvers
1803 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!