EngeeComms.FreeSpacePathLoss
Simulates signal power loss in free space.
Library |
|
Block |
Description
The system object EngeeComms.FreeSpacePathLoss adds free-space loss to a complex signal. The system object models the loss of signal power as a function of the distance between transmitter and receiver. Parameters Mode indicates whether the loss is specified explicitly in decibels or calculated based on the distance and frequency of the RF signal.
To add free space loss to a complex signal, follow the steps below:
-
Create an object EngeeComms.FreeSpacePathLoss and set its properties.
-
Call the object with arguments as if it were a function.
To learn more about how to work with system objects, see Engee system objects.
Syntax
Creation
-
freespacepathloss = EngeeComms.FreeSpacePathLoss()
creates a system signal power loss object in free spacefreespacepathloss
with by default properties.Example:
freespacepathloss = EngeeComms.FreeSpacePathLoss()
-
freespacepathloss = EngeeComms.FreeSpacePathLoss(Name=Value)
creates afreespacepathloss
system object with the specifiedName
property set to the specifiedValue
value. You can specify additional arguments as a name-value pair in any order (Name1
=Value1
,…,NameN
=ValueN
).Example:
freespacepathloss = EngeeComms.FreeSpacePathLoss(Loss=20)
Arguments
Properties
#
Mode —
loss calculation mode
String
Details
A loss calculation mode specified as one of the parameters:
-
Decibels
- losses are defined using the property Loss. -
Distance and Frequency
- losses are calculated by usage of properties * Distance и CarrierFrequency.