Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [1 2 3; 4 5 6]
y_correct = 6;
assert(isequal(your_fcn_name(x),y_correct))
x =
1 2 3
4 5 6
y =
6
|
2 | Pass |
x = [1 2 3; 4 5 7]
y_correct = 7;
assert(isequal(your_fcn_name(x),y_correct))
x =
1 2 3
4 5 7
y =
7
|
Number of 1s in a binary string
2818 Solvers
Create matrix of replicated elements
321 Solvers
158 Solvers
Check that number is whole number
1070 Solvers
Matrix of almost all zeros, except for main diagonal
152 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!