Restricted sampling from Gaussian Distribution
by Kanchi
02 Dec 2004
(Updated 06 Dec 2004)
Sample x from N(x_mu, x_var), restricted in x_min<=x<=x_max.
|
Watch this File
|
| File Information |
| Description |
MATLAB implementation of restricted sampling from Gaussian distribution
Objective: sample x (column vector) from N(x_mu, x_var), restricted in
x_min<=x<=x_max.
input: x_mu, x_var: the parameter of the pdf of x
x_min, x_max: the range of x
output: x: the sample
Acknowledge
Peter J. Acklam's toolbox for the inverse normal cumulative distribution function
http://home.online.no/~pjacklam/notes/invnorm/index.html
Jing Tian
Contact me : scuteejtian@hotmail.com
This program is written in Oct.2004 during my postgraduate studying in
NTU, Singapore. |
| MATLAB release |
MATLAB 6.5 (R13)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (1) |
| 22 Aug 2006 |
Wooksung Yoo
|
|
|
|
Contact us at files@mathworks.com