Cody

Solution 2651744

Submitted on 4 Jul 2020
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
N = 6; rng(7); assert((round(abs(loln(N)),7) == 7.2900e-05))

N = 0.0763 0.7799 0.4384 0.7235 0.9780 0.5385

Error using assert The condition input argument must be a scalar logical. Error in Test1 (line 3) assert((round(abs(loln(N)),7) == 7.2900e-05))

2   Fail
N = 10; rng(1000); assert((round(abs(loln(N)),7) == 8.7600e-05))

N = 0.6536 0.1150 0.9503 0.4822 0.8725 0.2123 0.0407 0.3972 0.2331 0.8417

Error using assert The condition input argument must be a scalar logical. Error in Test2 (line 3) assert((round(abs(loln(N)),7) == 8.7600e-05))