Simulink Reference | ![]() ![]() |
Convert a magnitude and/or a phase angle signal to a complex signal
Library
Description
The Magnitude-Angle to Complex block converts magnitude and/or phase angle inputs to a complex-valued output signal. The inputs must be real-valued signals of type double
. The angle input is assumed to be in radians. The data type of the complex output signal is double
.
The inputs can both be signals of equal dimensions, or one input can be an array and the other a scalar. If the block has an array input, the output is an array of complex signals. The elements of a magnitude input vector are mapped to magnitudes of the corresponding complex output elements. An angle input vector is similarly mapped to the angles of the complex output signals. If one input is a scalar, it is mapped to the corresponding component (magnitude or angle) of all the complex output signals.
Data Type Support
See the preceding block description.
Parameters and Dialog Box
Characteristics
Direct Feedthrough |
Yes |
Sample Time |
Inherited from driving block |
Scalar Expansion |
Of the input when the function requires two inputs |
Dimensionalized |
Yes |
Zero Crossing |
No |
![]() | Look-Up Table (n-D) | Manual Switch | ![]() |