Files
miSim/@rfSensor/antennaGain.m
T
2026-04-21 09:14:38 -07:00

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