This repository has been archived on 2021-05-17. You can view files and clone it, but cannot push or open issues or pull requests.
scientificComputing/statistics/matlab/invgausspdf.m
2014-10-24 11:43:19 +02:00

6 lines
146 B
Matlab

function prob = invgausspdf(x, p)
mu = p(1);
lambda = p(2);
prob = sqrt(lambda/2/pi./x.^3) .* exp(-lambda *(x-mu).^2/2/mu^2./x);