This Xcos block allows to easily convert angle values betwen different angle units.
This Xcos block allows to easily convert angle values betwen different angle units. Input port accepts any size of double vector. Output port will always have the same dimension as input. Input values are treated as the where of "Convert from" unit and are converted to output of "Convert to" unit. Currently only two units are supported: degrees and radians. In block parameters dialog user must input 'deg' or 'rad' for each of them respectively.
Input: NxM double
Output: NxM double
Convert from = deg
Convert to = rad
macros/ANGLE_CONVERSION.sci
macros/AB_unit_conversion.sci