No BSD License  

Highlights from
Restricted sampling from Gaussian Distribution

1.0

1.0 | 1 rating Rate this file 4 Downloads (last 30 days) File Size: 2.47 KB File ID: #6447

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

Not very good

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
image analysis Kanchi 22 Oct 2008 07:37:06
monte carlo Kanchi 22 Oct 2008 07:37:06
sampling Kanchi 22 Oct 2008 07:37:06
restricted sampling Kanchi 22 Oct 2008 07:37:06

Contact us at files@mathworks.com