Transmitter
Amplify and transmit a signal
Libraries:
Phased Array System Toolbox /
Transmitters and Receivers
Description
The Transmitter block amplifies and transmits waveform pulses. The transmitter can either maintain coherence between pulses or insert phase noise.
Ports
Input
Input 1 — Input signal
complex-valued vector
Input signal, specified as a complex-valued vector.
Data Types: double
Output
Y — Transmitted signal
complex-valued vector
Transmitted signal, returned as a complex-valued vector. The transmitted signal is the amplified input signal Input 1 where the amplification is based on the characteristics of the transmitter, such as the peak power and the gain.
Data Types: double
TR — Transmitter status
logical vector
Transmitter status, output as a logical vector where
true
indicates the transmitter is on for the
corresponding sample time, and false
indicates the
transmitter is off.
Dependencies
To enable this port, select the Enable transmitter status output check box.
Data Types: double
Ph — Output phase noise
vector
Added phase noise, output as a vector. Random phase noise added to
each transmitted sample. PHNOISE
is a vector which
has the same dimension as Y. Each element in
PHNOISE
contains the random phase between 0 and
2*pi, added to the corresponding sample in Y
by the
transmitter.
Dependencies
To enable this port, select the Enable pulse phase noise output check box and deselect the Preserve coherence among pulses check box.
Data Types: double
Parameters
Peak power (W) — Peak power
5000
(default) | positive scalar
Transmitted peak power, specified as a positive scalar. Units are in Watts.
Gain (dB) — Transmitter gain
20
(default) | scalar
Transmit gain, specified as a scalar. Units are in dB.
Loss factor (dB) — Loss factor
0
(default)
Transmit loss factor, specified as a nonnegative scalar. Units are in dB.
Enable transmitter status output — Enable transmitter status output
off (default) | on
Select this check box to send the transmitter-in-use status for each
output sample from the output port TR
. From the output
port, a 1 indicates that the transmitter is on, and a 0 indicates that the
transmitter is off.
Preserve coherence among pulses — Preserve coherence among pulses
on (default) | off
Select this check box to preserve coherence among transmitted pulses. When you select this box, the transmitter does not introduce any random phases to the output pulses. When you clear this box, the transmitter adds a random phase noise to each transmitted pulse. The random phase noise is introduced by multiplying the pulse value by ejϕwhere ϕ is a uniform random variable on the interval [0,2π].
Enable pulse phase noise output — Enable pulse phase noise output
off (default) | on
Select this check box to create an output port, Ph
,
with the output sample’s random phase noise introduced if Preserve
coherence among pulses is cleared. The output port can be
directed to a receiver to simulate coherent-on-receive systems.
Dependencies
This check box appears only when Preserve coherence among pulses is deselected.
Simulate using — Block simulation method
Interpreted Execution
(default) | Code Generation
Block simulation, specified as Interpreted Execution
or
Code Generation
. If you want your block to use the
MATLAB® interpreter, choose Interpreted Execution
. If
you want your block to run as compiled code, choose Code
Generation
. Compiled code requires time to compile but usually runs
faster.
Interpreted execution is useful when you are developing and tuning a model. The block
runs the underlying System object™ in MATLAB. You can change and execute your model quickly. When you are satisfied
with your results, you can then run the block using Code
Generation
. Long simulations run faster with generated code than in
interpreted execution. You can run repeated executions without recompiling, but if you
change any block parameters, then the block automatically recompiles before
execution.
This table shows how the Simulate using parameter affects the overall simulation behavior.
When the Simulink® model is in Accelerator
mode, the block mode specified
using Simulate using overrides the simulation mode.
Acceleration Modes
Block Simulation | Simulation Behavior | ||
Normal | Accelerator | Rapid Accelerator | |
Interpreted Execution | The block executes using the MATLAB interpreter. | The block executes using the MATLAB interpreter. | Creates a standalone executable from the model. |
Code Generation | The block is compiled. | All blocks in the model are compiled. |
For more information, see Choosing a Simulation Mode (Simulink).
Programmatic Use
Block
Parameter:SimulateUsing |
Type:enum |
Values:Interpreted
Execution , Code Generation |
Default:Interpreted
Execution |
Version History
Introduced in R2014b
See Also
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)