`y=complexRand(n)`

`y=complexRand(n1, n2, n3, ...)`

Inputs | |

`n` |
An integer or an integer array |

`n1,n2,n3,...` |
a list of integers |

Outputs | |

`y` |
an array of complex random numbers. |

`complexRand(n),`

when `n`

is a scalar integer, returns an nXn matrix
of complex numbers.
`complexRand(n),`

when `n`

is an array of integers, returns an
array of complex numbers whose size is `n`

.
`complexRand(n1,n2,n3,...nn)`

, where `n1, n2,`

etc. are scalar integers,
returns an array of complex numbers whose size is
`[n1 n2 n3 .... nn]`

.
The magniudes of the elements of the output array are independently and uniformly distributed between 0 and 1.

The angles of the elements of the output array are independently and uniformly distributed between

`-pi`

and `pi`

.