This Xcos block allows to easily normalize vectors.
This Xcos block allows to easily normalize vectors. Input port accepts N column vectors of size M and returns normalized vectors in form of NxM matrix. If one or more input vectors has a norm equal to 0 a proper warning will be generated. In such a case simulation will continue and respective outputs for those vectors will be marked by assigning Nan (not a number) value.
Input: NxM double
Output: NxM double
This block does not need a dialogbox.
This block has no properties.
macros/VECTOR_NORMALIZATION.sci
macros/AB_unitVector.sci