ixed second-order derivative.</span>
0009 <span class="comment">%</span>
0010 <span class="comment">% Density estimation is done on the log-scale. That is, the estimate</span>
0011 <span class="comment">% is of g(x) = log(f(x)), where f(x) is the density.</span>
0012 <span class="comment">%</span>
0013 <span class="comment">% The relation between derivatives is therefore</span>
0014 <span class="comment">%     f'(x) = f(x)g'(x) = g'(x)exp(g(x)).</span>
0015 <span class="comment">% To estimate f'(x), 