satelliteCNRConfig
Description
Use the satelliteCNRConfig
object to create a carrier-to-noise ratio
(CNR) configuration object with default or specified values.
Creation
Description
creates a default
CNR configuration object.cfg
= satelliteCNRConfig
This object contains the parameters required to calculate a satellite link budget CNR.
sets properties using one or more
name-value arguments. For example, cfg
= satelliteCNRConfig(Name
=Value
)TransmitterPower=20
sets the
transmitter power to 20 dBW.
Properties
TransmitterPower
— Transmitter power
10
(default) | real scalar
Transmitter power in dBW, specified as a real scalar.
Data Types: double
TransmitterSystemLoss
— Total system loss of the transmitter
0
(default) | nonnegative real scalar
Total system loss of the transmitter in dB, specified as a nonnegative real scalar.
Data Types: double
TransmitterAntennaGain
— Transmitter antenna gain
10
(default) | nonnegative real scalar
Transmitter antenna gain in dBi, specified as a nonnegative real scalar.
Data Types: double
Distance
— Distance between transmitter and receiver antenna
3786
(default) | nonnegative real scalar
Distance between the transmitter and the receiver antenna in km, specified as a nonnegative real scalar.
Data Types: double
Frequency
— Signal frequency
14
(default) | positive real scalar
Signal frequency in GHz, specified as a positive real scalar.
Data Types: double
MiscellaneousLoss
— Miscellaneous losses
0
(default) | nonnegative real scalar
Miscellaneous losses in dB, specified as a nonnegative real scalar. Major miscellaneous losses include polarization loss, interference loss, and atmospheric attenuation.
Data Types: double
GainToNoiseTemperatureRatio
— Receiver gain-to-noise temperature ratio
3
(default) | real scalar
Receiver gain-to-noise temperature ratio in the direction of the transmitting antenna, specified as a real scalar. Value is in dB/K.
Data Types: double
ReceiverSystemLoss
— Total receiver system loss
0
(default) | nonnegative real scalar
Total receiver system loss in dB, specified as a nonnegative real scalar.
Data Types: double
BitRate
— Bit rate of link
10
(default) | positive real scalar
Bit rate of the link in Mbps, specified as a positive real scalar.
Data Types: double
SymbolRate
— Symbol rate of link
10
(default) | positive real scalar
Symbol rate of the link in Msym/s, specified as a positive real scalar.
Data Types: double
Bandwidth
— Signal bandwidth
6
(default) | positive real scalar
Signal bandwidth in MHz, specified as a positive real scalar.
Data Types: double
Object Functions
satelliteCNR | Carrier-to-noise ratio for configured satellite link budget parameters |
Examples
Create Satellite CNR Object
Create a default satellite carrier-to-noise ratio (CNR) object.
Set the bandwidth to 15 MHz and gain-to-noise temperature to 5 dB/K.
cfg = satelliteCNRConfig; cfg.Bandwidth = 15; cfg.GainToNoiseTemperatureRatio = 5;
Display the CNR configuration object properties.
disp(cfg)
satelliteCNRConfig with properties: TransmitterPower: 10 TransmitterSystemLoss: 0 TransmitterAntennaGain: 10 Distance: 3786 Frequency: 14 MiscellaneousLoss: 0 GainToNoiseTemperatureRatio: 5 ReceiverSystemLoss: 0 BitRate: 10 SymbolRate: 10 Bandwidth: 15
Calculate CNR and Link Margin
Calculate the CNR and the received link margin for the specified link budget parameters.
Create a default CNR configuration object, and then set its properties.
cfg = satelliteCNRConfig; cfg.TransmitterPower = 17; % in dBW cfg.TransmitterSystemLoss = 9; % in dB cfg.TransmitterAntennaGain = 38; % in dBi cfg.Distance = 40215; % in km cfg.Frequency = 11; % in GHz % Here, miscellaneous losses include polarization loss, interference % loss, and antenna mispointing loss, respectively. polLoss = 3.0103; intLoss = 2; antLoss = 1; cfg.MiscellaneousLoss = polLoss + intLoss + antLoss; % in dB cfg.GainToNoiseTemperatureRatio = 25; % in dB/K cfg.ReceiverSystemLoss = 2; % in dB cfg.BitRate = 10; % in Mbps
Display the CNR configuration object properties.
disp(cfg)
satelliteCNRConfig with properties: TransmitterPower: 17 TransmitterSystemLoss: 9 TransmitterAntennaGain: 38 Distance: 40215 Frequency: 11 MiscellaneousLoss: 6.0103 GainToNoiseTemperatureRatio: 25 ReceiverSystemLoss: 2 BitRate: 10 SymbolRate: 10 Bandwidth: 6
Calculate the CNR.
[cn,info] = satelliteCNR(cfg)
cn = 18.4440
info = struct with fields:
TransmitterEIRP: 46
FSPL: 205.3634
ReceivedIsotropicPower: -165.3737
CarrierToNoiseDensityRatio: 86.2255
ReceivedEbNo: 16.2255
ReceivedEsNo: 16.2255
Compute the link margin. Assume a required energy per bit to noise power density ratio (Eb/No) of 10 dB and an implementation loss of 2 dB in the receiver.
reqEbNo = 10; implLoss = 2; margin = info.ReceivedEbNo - reqEbNo - implLoss
margin = 4.2255
Extended Capabilities
C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.
Version History
Introduced in R2022b
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)