This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
%%
x = [3 6 8 5];
y_correct = 3;
assert(isequal(matrix_min(x),y_correct))
Error: Undefined function 'matrix_min' for input arguments of type 'double'.
|
2 | Fail |
%%
x = [3 -6; 8 5];
y_correct = -3;
assert(isequal(matrix_min(x),y_correct))
Error: Undefined function 'matrix_min' for input arguments of type 'double'.
|
3 | Pass |
%%
x = [101; 21; 10000; 510];
y_correct = 21;
assert(isequal(your_fcn_name(x),y_correct))
|
Determine the number of odd integers in a vector
435 Solvers
Switch matrix to a column vector
260 Solvers
141 Solvers
323 Solvers
191 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!