n class="keyword">end</span>
<span class="keyword">if</span> nargin &lt; 5
    msestep = 0.1;
    v = 3;
    cstep = 1;
    gstep = 1;
    gmax = 5;
    gmin = -5;
<span class="keyword">end</span>
<span class="keyword">if</span> nargin &lt; 4
    msestep = 0.1;
    v = 3;
    cstep = 1;
    gstep = 1;
    gmax = 5;
    gmin = -5;
    cmax = 5;
<span class="keyword">end</span>
<span class="keyword">if</span> nargin &lt; 3
    msestep = 0.1;
    v = 3;
    cstep = 1;
    gstep = 1;
    gmax = 5;
    gmin = -5