73    0.6857    0.3445
    0.3132    0.1414    0.4398    0.2343
    0.4318    0.2359    0.5363    0.2498
    0.3181    0.1696    0.4022    0.1915


ans(:,:,3) =

    1.1514    0.5948    1.4883    0.7272
    1.1975    0.5956    1.5872    0.7974
    0.7251    0.3273    1.0180    0.5423
    0.9996    0.5461    1.2413    0.5783
    0.7363    0.3925    0.9310    0.4434

</pre><h2>Use ndims and size to get the size of a ttensor<a name="14"></a></h2><pre class="codeinput">ndims(X) <span class="comment">%&lt;-- Num