Cody

Solution 1802599

Submitted on 2 May 2019
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   Fail
nn = 3; orms_correct = 3.4156 assert((odd_rms(nn)-orms_correct)<0.5)

orms_correct = 3.4156

Undefined function 'odd_rms' for input arguments of type 'double'. Error in Test1 (line 3) assert((odd_rms(nn)-orms_correct)<0.5)

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

orms_correct = 11.5325

Undefined function 'odd_rms' for input arguments of type 'double'. Error in Test2 (line 3) assert((odd_rms(nn)-orms_correct)<0.5)

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

orms_correct = 1

Undefined function 'odd_rms' for input arguments of type 'double'. Error in Test3 (line 3) assert((odd_rms(nn)-orms_correct)<0.5)