1; <span class="keyword">end</span>      <span class="comment">% noise = std dev of additive noise</span>
<span class="keyword">if</span> ~exist(<span class="string">'nCases'</span>,<span class="string">'var'</span>), nCases = 20; <span class="keyword">end</span>    <span class="comment">% nCases = no. of MC trials</span>
<span class="keyword">if</span> ~exist(<span class="string">'newA'</span>,<span class="string">'var'</span>), newA = 0; <span class="keyword">end</span>          <span class="comment">% ne