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))
y_correct =
2018 5 13 10 36 5
|
Find common elements in matrix rows
1232 Solvers
1800 Solvers
The Hitchhiker's Guide to MATLAB
2874 Solvers
Project Euler: Problem 1, Multiples of 3 and 5
1493 Solvers
Piecewise linear interpolation
299 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!