= viz(M1,<span class="string">'Figure'</span>,1,vizopts{:});
</pre><img vspace="5" hspace="5" src="cp_als_doc_01.png" alt=""> <h2 id="5">Run again with a different initial guess, output the initial guess.</h2><p>This time we have two outputs. The first output is the solution as a ktensor. The second output is a cell array containing the initial guess. Since the first mode is not needed, it is omitted from the cell array.</p><pre class="codeinput">[M2bad,U2] = cp_als(X,3);
</pre><pre class="codeoutput">
CP_A