transmitter

Add transmitter to satellite scenario

Description

transmitter(parent) adds a default Transmitter object to the parent which can be a Satellite, GroundStation or Gimbal.

transmitter(parent,Name,Value) specifies options using one or more name-value arguments. For example, 'MountingAngle',[20; 35; 10] sets the yaw, pitch, and roll angles of the transmitter to 20, 35, and 10 degrees, respectively.

tx = transmitter(___) returns a handle to the added transmitter. Specify any input argument combination from previous syntaxes.

Input Arguments

collapse all

Element of scenario to which the transmitter is added, specified as a Satellite, GroundStation, or Gimbal object.

Name-Value Pair Arguments

Specify optional comma-separated pairs of Name,Value arguments. Name is the argument name and Value is the corresponding value. Name must appear inside quotes. You can specify several name and value pair arguments in any order as Name1,Value1,...,NameN,ValueN.

Example: 'MountingAngle',[20; 35; 10] sets the yaw, pitch, and roll angles of the transmitter to 20, 35, and 10 degrees, respectively.

You can set this property only when calling transmitter. After you call transmitter, this property is read-only.

transmitter name, specified as a comma-separated pair consisting of 'Name' and a string scalar, string vector, character vector or a cell array of character vectors.

  • If only one transmitter is added, specify Name as a string scalar or a character vector.

  • If multiple transmitters are added, specify Name as a string vector or a cell array of character vectors. The number of elements in the string vector or cell array must be equal to the number of satellites being added.

In the default value, idx is the count of the transmitter added by the transmitter object function. If another transmitter of the same name exists, a suffix _idx2 is added, where idx2 is an integer that is incremented by 1 starting from 1 until the name duplication is resolved.

Data Types: char | string

Mounting location with respect to the parent object, specified as a three-element row vector of positive numbers in meters. The position vector is specified in the body frame of the input parent.

Mounting orientation with respect to parent object, specified as a three-element row vector of positive numbers in degrees. The elements of the vector correspond to yaw, pitch, and roll in that order. Yaw, pitch, and roll are positive rotations about the parent's z - axis, intermediate y - axis and intermediate x - axis of the parent.

Example: [0; 30; 60]

Antenna object associated with the transmitter, specified as an antenna object. The default gaussian antenna has a dish diameter of 1 m and an aperture efficiency of 0.65.

Total loss in the transmitter, specified as a real positive scalar. Units are in dB.

Transmitter frequency, specified as a positive scalar. Units are in Hz.

Bit rate of the transmitter, specified as a real positive scalar. Units are in Mbps.

Power of the high power amplifier, specified as a real positive scalar. Units are in dbW.

Output Arguments

collapse all

Transmitter attached to parent, returned as a Transmitter object.

Introduced in R2021a