Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
%%
x = 1;
y_correct = ones(3,4);
assert(isequal(your_fcn_name(x),y_correct))
ans =
1 1 1 1
1 1 1 1
1 1 1 1
|
Find the longest sequence of 1's in a binary sequence.
3369 Solvers
219 Solvers
320 Solvers
98 Solvers
128 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!