Quaternion Function Reference

convert

Convert quaternion to different underlying data type

Syntax

Y = convert(q, t)

Description

convert(q, t) converts the components of a quaternion to a different data type. By default, the components of a quaternion have the default MATLAB® data type double. The cast function implements the same functionality, and is to be preferred since it overloads a standard MATLAB® function. Convert is retained for compatibility with code written before the cast function was implemented.

See Also

QTFM function: cast

© 2008-2013 Stephen J. Sangwine and Nicolas Le Bihan

License terms.