re><h2>Use double to convert a ttensor to a (multidimensional) array<a name="13"></a></h2><pre class="codeinput">double(X) <span class="comment">%&lt;-- Converts to a MATLAB array</span>
</pre><pre class="codeoutput">
ans(:,:,1) =

    0.4236    0.2188    0.5476    0.2676
    0.4406    0.2191    0.5840    0.2934
    0.2668    0.1204    0.3746    0.1995
    0.3678    0.2009    0.4567    0.2128
    0.2709    0.1444    0.3425    0.1631


ans(:,:,2) =

    0.4974    0.2569    0.6430    0.3142
    0.5173    0.25