="9">Creating an empty ttensor.</h2><pre class="codeinput">X = ttensor <span class="comment">%&lt;-- empty ttensor</span>
</pre><pre class="codeoutput">X is a ttensor of size [empty tensor]
	X.core is a tensor of size [empty tensor]
		X.core = []
</pre><h2 id="10">Use full or tensor to convert a ttensor to a tensor</h2><pre class="codeinput">X = ttensor(core,U) <span class="comment">%&lt;-- Create a tensor</span>
</pre><pre class="codeoutput">X is a ttensor of size 5 x 4 x 3
	X.core is a tensor of size 3 x 