_model.nsv,1);<br>
red_model.b&nbsp;=&nbsp;model.b;<br>
red_model.sv.X&nbsp;=&nbsp;zeros(dim,red_model.nsv);<br>
red_model.options&nbsp;=&nbsp;model.options;<br>
red_model.classifier&nbsp;=&nbsp;<span class=quotes>'svmclass'</span>;<br>
red_model.eigval&nbsp;=&nbsp;D(inx);<br>
<br>
cnt&nbsp;=&nbsp;0;<br>
<span class=keyword>for</span>&nbsp;i=inx(:)',<br>
&nbsp;&nbsp;cnt&nbsp;=&nbsp;cnt+1;<br>
&nbsp;&nbsp;red_model.sv.X(:,cnt)&nbsp;=&nbsp;V(:,i);<br>
&nbsp;&nbsp;red_model.Alpha(cnt)&nbsp;=&nbsp;D(i)/(red_mod