comment>%-----------------------------------------------
</span><br>
<span class=defun_kw>function</span>&nbsp;<span class=defun_out>class&nbsp;</span>=&nbsp;<span class=defun_name>classify</span>(<span class=defun_in>x,p1,p2,m1,m2,c1,c2</span>)
<br>
<span class=comment>%&nbsp;finds&nbsp;out&nbsp;to&nbsp;which&nbsp;class&nbsp;the&nbsp;given&nbsp;x&nbsp;belongs
</span><br>

<br>
<span class=keyword>if</span>&nbsp;p1==1,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class=comment>%&nbsp;only&nbsp;the&nbsp;1st&nbsp;class