Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions utils/VBA_random.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
% X = VBA_random (name, p1, p2, ..., [N, M, ...])
% generate random numbers following the requested distribution
%
% If you the MATLAB statistics toolbox, this merely serve as an overload of
% If you have the MATLAB statistics toolbox, this merely serve as an overload of
% the random() function, although with a slightly different syntax and
% behaviour. If the statistics toolbox is not installed, VBA_random will
% fall back to in-house generators (mainly using SPM routines).
Expand All @@ -26,7 +26,7 @@
% Available distributions:
% ~~~~~~~~~~~~~~~~~~~~~~~~
%
% 'Arbirary'
% 'Arbitrary'
% ----------
% + parameters:
% - p: k x 1 vector describing the density of possible values
Expand Down Expand Up @@ -80,7 +80,7 @@
% ----------
% + parameters:
% - mu: scalar or k x 1 vector, mean of the Normal distribution
% - Sigma2: scalar or k x k array, (co-)variance of
% - Sigma2: scalar or k x k array, (co-)variance of the Normal distribution
% + output: if parameters are scalars, samples from the univariate
% normal distribution N(mu, Sigma).
% If mu and Sigma are respectively a vector and an array of
Expand Down