ass="comment">%&lt;-- Number of dimensions.</span>
</pre><pre class="codeoutput">ans =
     3
</pre><pre class="codeinput">size(X) <span class="comment">%&lt;-- Row vector of the sizes.</span>
</pre><pre class="codeoutput">ans =
     5     4     3
</pre><pre class="codeinput">size(X,2) <span class="comment">%&lt;-- Size of the 2nd mode.</span>
</pre><pre class="codeoutput">ans =
     4
</pre><h2 id="17">Subscripted reference to a ttensor</h2><pre class="codeinput">X.core(1,1,1) <span class="comment">%&lt;--