EngeeComms.FreeSpacePathLoss
Simulates signal power loss in free space.
| Library |
|
| Block |
Description
System object EngeeComms.FreeSpacePathLoss adds free space loss to the complex signal. The system object simulates the loss of signal power depending on the distance between the transmitter and receiver. Parameter Mode indicates whether the loss is set explicitly in decibels or calculated based on the distance and frequency of the RF signal.
To add the free space loss to the complex signal, follow these steps:
-
Create an object EngeeComms.FreeSpacePathLoss and set its properties.
-
Call an 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 object of signal power loss in free spacefreespacepathlosswith properties by default.Example:
freespacepathloss = EngeeComms.FreeSpacePathLoss() -
freespacepathloss = EngeeComms.FreeSpacePathLoss(Name=Value)— creates a system objectfreespacepathlosswith the specified properties as a pairName=Value, whereName— the name of the property, andValue— appropriate value. You can specify multiple pairs «name-value» the order of the pairs does not matter. Unspecified properties retain their by default values.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 and CarrierFrequency.