Cody

Solution 2265116

Submitted on 8 May 2020 by Nikolaos Nikolaou
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))

l = 0.5996

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

l = 1.4990e+06

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