source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/lightspeed/test_randgamma.m
@
177
Last change on this file since 177 was 37, checked in by , 15 years ago | |
---|---|
File size: 109 bytes |
Line | |
---|---|
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.