Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = 1;
y_correct = 'on';
assert(isequal(onoff(x),y_correct))
|
2 | Pass |
%%
x = isempty('on');
y_correct = 'off';
assert(isequal(onoff(x),y_correct))
|
3 | Pass |
%%
x = [];
y_correct = 'off';
assert(isequal(onoff(x),y_correct))
|
Sum all integers from 1 to 2^n
8419 Solvers
1882 Solvers
MATCH THE STRINGS (2 CHAR) very easy
250 Solvers
Do Fast Fourier Transformation
221 Solvers
521 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!