Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
%%
a = [1 -2 7];
b = [2;6;-1];
out = [{[3.00 4.00 6.00]},{-17.00}];
assert(isequal(add_mult(a,b),out))
Error: Undefined function 'round' for input arguments of type 'cell'.
|
2 | Fail |
%%
a = [0.2922 0.1557 0.3491; 0.4595 -0.4643 0.4340];
b = [0.4572 -0.3581; -0.0146 -0.0782; 0.3003 0.4157];
out = [{[0.75 0.14 0.65; 0.1 -0.54 0.85]},{[0.24 0.03; 0.35 0.05]}];
assert(isequal(add_mult(a,b),out))
Error: Undefined function 'round' for input arguments of type 'cell'.
|
Return a list sorted by number of occurrences
1225 Solvers
298 Solvers
First non-zero element in each column
464 Solvers
341 Solvers
Sum of odd numbers in a matrix
232 Solvers