From a1a58bc29b99571ec0e60a6505491f1d9f37de5e Mon Sep 17 00:00:00 2001 From: assia Date: Tue, 29 Jan 2008 13:20:25 +0000 Subject: [PATCH] header updated git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1661 ac1d8469-bf42-47a9-8791-bf33cf982152 --- matlab/rndprior.m | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/matlab/rndprior.m b/matlab/rndprior.m index a95108629..04bef9c65 100644 --- a/matlab/rndprior.m +++ b/matlab/rndprior.m @@ -1,5 +1,22 @@ function y = rndprior(bayestopt_) + +% function y = rndprior(bayestopt_) +% Draws random number from the prior density +% +% INPUTS +% bayestopt_: structure characterizing priors +% +% OUTPUTS +% y: drawn numbers vector +% +% SPECIAL REQUIREMENTS +% none +% +% part of DYNARE, copyright Dynare Team (2003-2007) +% Gnu Public License. + + pshape=bayestopt_.pshape; pmean=bayestopt_.pmean; p1=bayestopt_.p1;