source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/lightspeed/test_randgamma.m
Last change on this file was 37, checked in by , 15 years ago | |
---|---|
File size: 109 bytes |
Rev | Line | |
---|---|---|
[37] | 1 | a = 3.75; |
2 | x = randgamma(repmat(a,1,10000)); | |
3 | ||
4 | % E[x] | |
5 | mean(x) | |
6 | a | |
7 | ||
8 | % E[log(x)] | |
9 | mean(log(x)) | |
10 | digamma(a) |
Note: See TracBrowser
for help on using the repository browser.