>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2>
<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function erg=logdroptrans(vals,drop)</a>
0002 
0003 <span class="comment">% LOGDROPTRANS - Transform plus/minus log-scaled values</span>
0004 
0005 <span class="keyword">if</span> nargin&lt;2, drop=1e-6; <span class="keyword">end</span>
0006 aa=abs(vals/drop);
0007 aa(aa&lt;1)=1;
0008 erg=log10(aa).*sign(vals);</pre></div>
<hr><address>Generated