SignalConversions

DatatypeConversion

This block outputs a signal obtained by converting an input of any data type into another data type. The input and output can be any data type supported by Activate.

ScalarExpand

This block converts a scalar input into a matrix output whose entries are all equal to the input scalar.

ComplexDecomposition

This block, depending on the choice of the decomposition type, outputs two real signals obtained from the decomposition of the unique complex input into the real and imaginary parts, or vice versa.

ComplexToPolar

This block converts a complex input into a magnitude and angle in radians, or, given the magnitude and the angle, the block produces a complex output.

CartesianToPolar

This block converts Polar coordinates to Cartesian coordinates or vice versa.

UnitConversion

The unitConversion block changes the unit of measurement of the data. You can convert the unit of measurement within numerous categories.

FormattedString

This block emulates the snprintf functionality of C/C++.