14 lines
322 B
Matlab
14 lines
322 B
Matlab
function value = antennaGain(obj, t)
|
|
arguments (Input)
|
|
obj (1, 1) {mustBeA(obj, "rfSensor")};
|
|
t (:, 1) double; % LOS tilt angle
|
|
end
|
|
arguments (Output)
|
|
value (:, 1) double
|
|
end
|
|
|
|
% TODO
|
|
% Temporary logic to make nadir-pointing most effective
|
|
value = 10*log10(cosd(t));
|
|
end
|