Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 90;
y = inf;
assert(isequal(tangent1(x),y))
|
2 | Pass |
x = 45;
y = 1;
assert(isequal(tangent1(x),y))
|
Find the longest sequence of 1's in a binary sequence.
3370 Solvers
314 Solvers
07 - Common functions and indexing 6
348 Solvers
414 Solvers
192 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!