| Contents | Index |
Generate random number drawn from ProbDist object
Y = random(PD)
Y = random(PD, N)
Y = random(PD, N, M,
...)
Y = random(PD) generates a random number drawn from the distribution specified by PD, a ProbDist object.
Y = random(PD, N) generates an N-by-N array of random numbers drawn from the distribution specified by PD, a ProbDist object.
Y = random(PD, N, M, ...) generates an N-by-M-by... array of random numbers drawn from the distribution specified by PD, a ProbDist object.
| PD | An object of the class ProbDistUnivParam or ProbDistUnivKernel. |
| N | A positive integer. |
| M | A positive integer. |
| Y | A random number drawn from the distribution specified by PD. |
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |