Matlab Code Of Bayesian Approach