edit param default
This commit is contained in:
1 parent
ec0a223cf8
commit
b53f62391b
1 file changed
+2
-2
@@ -3,7 +3,7 @@ classdef rfSensor
|
|||||||
% Physical parameters
|
% Physical parameters
|
||||||
c = 3e8; % Speed of light (m/s)
|
c = 3e8; % Speed of light (m/s)
|
||||||
k_B = 1.38e-23 % Boltzmann constant (W/Hz/K) for thermal noise model
|
k_B = 1.38e-23 % Boltzmann constant (W/Hz/K) for thermal noise model
|
||||||
T_0 = 300; % Ambient temperature (Kelvin) for thermal noise model
|
T_0 = NaN; % Ambient temperature (Kelvin) for thermal noise model
|
||||||
lossExponent = NaN; % Path loss exponent (2 for free space, up to 6 for the lossiest environments)
|
lossExponent = NaN; % Path loss exponent (2 for free space, up to 6 for the lossiest environments)
|
||||||
% Sensor parameters
|
% Sensor parameters
|
||||||
P_TX = NaN; % Transmit power (Watts)
|
P_TX = NaN; % Transmit power (Watts)
|
||||||
@@ -38,4 +38,4 @@ classdef rfSensor
|
|||||||
G_TX_dB = transmitterGain(obj, theta); % Antenna gain for a given angle from boresight (degrees)
|
G_TX_dB = transmitterGain(obj, theta); % Antenna gain for a given angle from boresight (degrees)
|
||||||
L_FSPL_dB = pathLoss(obj, d); % Free space path loss for a given TX/RX pair
|
L_FSPL_dB = pathLoss(obj, d); % Free space path loss for a given TX/RX pair
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
Reference in new issue
Block a user