<< LOGBLK_f Mathoperations_pal MATZREIM >>

Scilab Help >> Xcos > palettes > Mathoperations_pal > MATMAGPHI

MATMAGPHI

Complex from/to Magnitude and Angle Conversion

Block Screenshot

Contents

Description

This block computes the magnitude and the angle of a matrix of complex numbers or composes a matrix of complex numbers from a matrix of magnitudes and a matrix of angles with respect to the value of decomposition type parameter. The following table summarize the bloc behaviour :

Decomposition type Inputs Outputs Operation
1 One (complex or double) Two (double) Conversion complex to magnitude (first output) and radian angle (second output). If the input is double, the angle will be zero or PI and the magnitude will be equal to the absolute of the input number.
2 Two (double) One (complex) The block outputs a matrix of complex numbers built with the magnitude and the radian angle inputs coming respectively from the first and from the second inputs.

Parameters

Default properties

Interfacing function

Computational function

See also


Report an issue
<< LOGBLK_f Mathoperations_pal MATZREIM >>