Cody

Solution 1680871

Submitted on 26 Nov 2018 by HH
  • Size: 9
  • This is the leading solution.
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
nn = 3; orms_correct = 3.4156 assert((odd_rms(nn)-orms_correct)<0.5)

orms_correct = 3.4156 [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 odd_rms (line 2) In ScoringEngineTestPoint1 (line 3) In solutionTest (line 3)]

2   Pass
nn = 10; orms_correct = 11.5325 assert((odd_rms(nn)-orms_correct)<0.5)

orms_correct = 11.5325 [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 odd_rms (line 2) In ScoringEngineTestPoint2 (line 3) In solutionTest (line 5)]

3   Pass
nn = 1; orms_correct = 1 assert((odd_rms(nn)-orms_correct)<0.5)

orms_correct = 1 [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 odd_rms (line 2) In ScoringEngineTestPoint3 (line 3) In solutionTest (line 7)]