="codeinput"><span class="keyword">end</span>
</pre><pre class="codeinput"><span class="keyword">function</span> out = pen_NIG(w, delta, gamma)
tmp = sqrt(delta^2 + w.^2);
out = log(tmp)-log(besselk(1,gamma*tmp));
<span class="keyword">end</span>
</pre><p class="footer"><br>
      Published with MATLAB&reg; 7.12<br></p></div><!--
##### SOURCE BEGIN #####
%% Visualize soft thresholding behavior of different log priors
% PMTKauthor Francois Caron
% PMTKmodified Kevin Murphy
%%

% This file is from pmtk3.googl