Coding with raveevaluatefunction
From Rave Documentation
Revision as of 09:27, 17 October 2014 by Admin (Talk | contribs) (Created page with "This page describes the format of the outputs of raveevaluatefunction, particularly the format of the outputs when working with random variables. Raveevaluatefunction ha...")
This page describes the format of the outputs of raveevaluatefunction, particularly the format of the outputs when working with random variables.
Raveevaluatefunction has two outputs. If you're not working with random variables, then things are easy: the first output is an array of function values and the second output is {[]} (a single empty cell). When using random variables, the columns of the first array will instead be statistics whenever the corresponding variable is a function of random variables, and the second array will be a cell array of vectors of random values that were used to calculate those statistics. This is explained in more detail below.