<< LOGBLK_f Mathoperations_pal MATZREIM >>

Scilab Help >> Xcos > palettes > Mathoperations_pal > MATMAGPHI

MATMAGPHI

Conversions Z <=> (magnitude,angle) of complex numbers

Block Screenshot

Contents

Description

According to the value of the decomposition type parameter, this block either extracts the magnitudes and angles from a matrix of complex numbers, or builds a matrix of complex numbers from the matrices of their magnitudes and of their angles.

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 >>