added evaluation sheet for projects

This commit is contained in:
2017-03-08 15:26:37 +01:00
parent c422cd8fa7
commit 54bf5c2d6c
7 changed files with 90 additions and 226 deletions

View File

@@ -0,0 +1,11 @@
function p = invgauss(x, mu, D)
if abs(x) < 1e-8
p = zeros(size(x))
else
if x < 0
x = -x;
end
p = exp(-(x-mu).^2./4.0./D./x./mu./mu)./sqrt(4.*pi.*D.*x.^3.0);
end
p(p<1e-16) = 1e-16;
end