Cody

Solution 2255161

Submitted on 5 May 2020 by Asif Newaz
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
d = 0.6; f = 12e9; e = 70; y_correct = 36.004213724092068; assert(isequal(ant_gain(d,f,e),y_correct))

lm = 0.0250 g = 36.0042 g = 36.0042

2   Pass
d = 30; f = 6e9; e = 65; y_correct = 63.641167063818799; assert(isequal(ant_gain(d,f,e),y_correct))

lm = 0.0500 g = 63.6412

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