tensor of size 5 x 4 x 3
	P.lambda = [ 1.3189      1.1109 ]
	P.U{1} = 
		    0.0019    0.2743
		    0.6406   -0.0177
		    0.7679    0.9615
		   -0.0000    0.0000
		   -0.0000   -0.0000
	P.U{2} = 
		   -0.0000    0.0000
		    0.9413   -0.0855
		    0.2693    0.7083
		   -0.2036    0.7007
	P.U{3} = 
		    0.0402    0.8828
		   -0.0000   -0.0000
		    0.9992    0.4698
</pre><pre class="codeinput">P = parafac_als(X,2,struct(<span class="string">'dimorder'</span>,[3 2 1]))
</pre><pre class="codeoutput">
CP_ALS: