Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [1 2 3];
y_correct = [1 2 3;2 4 6;4 8 12];
assert(isequal(func(x),y_correct))
ans =
1 2 3
2 4 6
4 8 12
|
831 Solvers
Number of 1s in a binary string
2819 Solvers
284 Solvers
Matlab Basics II - Count rows in a matrix
255 Solvers
199 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!