Cody

Solution 2254474

Submitted on 4 May 2020 by William
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
f = 500e6; y_correct = 0.599584916; assert(isequal(freq2wave(f),y_correct))

2   Pass
f = 200; y_correct = 1.498962290000000e+06; assert(isequal(freq2wave(f),y_correct))

3   Pass
s=importdata('freq2wave.m'); y_correct=false; assert(isequal(sum(contains(s,'regexp')),y_correct))