Y = convert(q, t)</tt></p>
<h2>Description</h2>
<p>
<tt>convert(q, t)</tt> converts the components of a quaternion to a
different data type. By default, the components of a quaternion have the default
MATLAB&reg; data type <tt>double</tt>. The <tt>cast</tt> function
implements the same functionality, and is to be preferred since it overloads
a standard MATLAB&reg; function. <tt>Convert</tt> is retained for
compatibility with code written before the <tt>cast</tt> function was
implemented.
</p>

<h2>See Also<