 create_problem(<span class="string">'Size'</span>, [15 10 5], <span class="string">'Num_Factors'</span>, R, <span class="keyword">...</span>
    <span class="string">'M'</span>, 0.25, <span class="string">'Noise'</span>, 0.10);
X = info.Data;
P = info.Pattern;
M_true= info.Soln;
</pre><h2 id="3">Create initial guess using 'nvecs'</h2><pre class="codeinput">M_init = create_guess(<span class="string">'Data'</span>, X, <span class="string">'Num_Factors'</span>, R, <span class="keyword">...</span>
    <span cl