Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
tm=[];
for t=1:100
rng('default');
m=rand(100,100,100);
m(m>0.7)=nan;
tic
o=removenan(m);
tm(t)=toc;
end
rng('default');
m=rand(100,100,100);
m(m>0.7)=nan;
m(isnan(m))=[];
t_correct=0.019;
assert(mean(tm)<t_correct)
assert(isequal(o,m'))
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In removenan (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
[Warning: Function assert has the same n...
|
2 | Pass |
tm=[];
for t=1:100
rng('default');
m=rand(100,10000);
m(m>0.71)=nan;
tic
o=removenan(m);
tm(t)=toc;
end
rng('default');
m=rand(100,10000);
m(m>0.71)=nan;
m(isnan(m))=[];
t_correct=0.019;
assert(mean(tm)<t_correct)
assert(isequal(o,m'))
|
3 | Pass |
tm=[];
for t=1:100
rng('default');
m=rand(2,500000);
m(m>0.69)=nan;
tic
o=removenan(m);
tm(t)=toc;
end
rng('default');
m=rand(2,500000);
m(m>0.69)=nan;
m(isnan(m))=[];
t_correct=0.019;
assert(mean(tm)<t_correct)
assert(isequal(o,m'))
|
1137 Solvers
186 Solvers
145 Solvers
1234 Solvers
Solving Quadratic Equations (Version 1)
361 Solvers