Random:

Path: Math/Probability

% Compute a random nxm matrix

   Since version 1.
--------------------------------------------------------------------------
   Form:
   [r, seed] = Random( seed, n, m )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   seed       (1,1)   Seed
   n          (1,1)   Rows
   m          (1,1)   Columns

   -------
   Outputs
   -------
   r          (n,m)   Random matrix
   seed               Seed

--------------------------------------------------------------------------

Back to the Math Module page