017 
0018 [m,n,o]=size(x);
0019 x=<a href="nt_unfold.html" class="code" title="function x=nt_unfold(x)">nt_unfold</a>(x);
0020 v=<a href="nt_unfold.html" class="code" title="function x=nt_unfold(x)">nt_unfold</a>(v);
0021 
0022 [mm,nn]=size(x);
0023 <span class="keyword">if</span> numel(v)==1;
0024     x=x+v;
0025 <span class="keyword">elseif</span> size(v,1)==1
0026     <span class="keyword">if</span> size(v,2)~=nn; error(<span class="string">'V should have same number of columns as X'</span>); <span class