# Difference between revisions of "Coding with raveevaluatefunction"

From Rave Documentation

(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...") |
|||

Line 1: | Line 1: | ||

This page describes the format of the outputs of raveevaluatefunction, particularly the format of the outputs when working with [[random variables]]. | 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. | 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. |

## Latest revision as of 10:35, 17 October 2014

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.