ternion. For example if the pure quaternion
has components of class <tt>uint8</tt> the array of zeros returned will
also be of class <tt>uint8</tt>.
</p>

<h2>Examples</h2>
<pre>
&gt;&gt; q = eyeq(2)
 
q = 2x2 quaternion array
 
&gt;&gt; s(q)

ans =

     1     0
     0     1

&gt;&gt; scalar(qi)

ans =  0
</pre>

<h2>See Also</h2>QTFM functions: <a href="v.html">v</a>, <a href="v.html">vector</a>, <a href="xyz.html">x</a>, <a href="xyz.html">y</a>, <a href="xyz.html">z</a><br>
<h4>&copy; 2008-2011 Stephen 