`(y)=randn(m)`

`(y)=randn(m, n, o, p, ...)`

Inputs | |

`m` |
An integer or a vector of positive integers. |

`{n, o, p, ...}` |
Positive integers. |

Outputs | |

`u` |
An array of the size specified by the inputs. |

In all cases, the elements of the output array are random numbers which are normally distributed with mean zero and variance one.

If

`m`

is the only input and a integer, a matrix of size `mXm`

is returned.
If

`m`

is the only input and a vector of positive integers,
a matrix of size `m`

is returned.
If number of inputs is more than one, all of them must be positive integers. In this case, the size of the output is

`[m, n, o, p, ...]`

.