This Xcos block allows to calculate angle between any number of 3D vectors.
This Xcos block allows to calculate angle between any number of 3D vectors. Three dimensional column vectors should be provided by feeding signals to two block inputs (sized 3xM). Block will provide angle between respective input vectors in form of output matrix (sized 1xM). If one of the compared vectors is a null vector angle will be equal to 0.
Input 1: 3xM double (considered as a set of M column vectors)
Input 2: 3xM double (considered as a set of M column vectors)
Output: 1xM double (considered as a set of M angle values in radians.)
This block does not need a dialogbox.
This block has no properties.
macros/VECTOR_ANGLE.sci
macros/AB_vectAngle.sci