Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
filetext = fileread('time_for_five.m');
assert(isempty(strfind(filetext, 'fopen')));
assert(isempty(strfind(filetext, 'assert')));
|
2 | Pass |
y = time_for_five(5);
a=clock;
if mod(floor(a(6)),5)==0
y_correct= y
else
y_correct = NaN;
end
assert(isequal(y,y_correct))
ans =
[]
y_correct =
[]
|
3076 Solvers
2401 Solvers
Make an awesome ramp for a tiny motorcycle stuntman
334 Solvers
Replace multiples of 5 with NaN
358 Solvers
391 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!