Cody

Solution 2354443

Submitted on 24 May 2020 by Atsushi Ueno
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))

ans = 36.0042

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

ans = 63.6412

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