source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/lightspeed/test_randgamma.m @ 37

Last change on this file since 37 was 37, checked in by (none), 14 years ago

Added original make3d

File size: 109 bytes
Line 
1a = 3.75;
2x = randgamma(repmat(a,1,10000));
3
4% E[x]
5mean(x)
6a
7
8% E[log(x)]
9mean(log(x))
10digamma(a)
Note: See TracBrowser for help on using the repository browser.