rectly from a generic Kruskal tensor in the <tt>ktensor</tt> format. If the Kruskal tensor is not symmetric, it is symmetrized by averaging the factor matrices and taking care to get the signs aligned.</p><pre class="codeinput">K = ktensor(L, X-1, X+2, 2*X);
S2 = symktensor(K)
</pre><pre class="codeoutput">S2 is a symktensor of order 3 and dimension 4
	S2.lambda = [ 1  1 ]
	S2.U = 
		    1.2220   -6.5523
		    2.5685   -7.8311
		    3.9151   -9.1100
		    5.2616  -10.3889
</pre><p>This method of declaring a