Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
h = counter;
assert(isequal(h(), 1))
assert(isequal(h(), 2))
assert(isequal(h(), 3))
assert(isequal(h(), 4))
assert(isequal(h(), 5))
|
2 | Pass |
code = fileread('counter.m');
assert(isempty(strfind(code, 'persistent')));
|
First non-zero element in each column
593 Solvers
Similar Triangles - find the height of the tree
203 Solvers
123 Solvers
Get the length of a given vector
3562 Solvers
331 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!