y=complexRandn(n)y=complexRandn(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. |
complexRandn(n), when n is a scalar integer, returns an nXn matrix
of complex numbers.
complexRandn(n), when n is an array of integers, returns an
array of complex numbers whose size is n .
complexRandn(n1,n2,n3,...nn) , where n1, n2, etc. are scalar integers,
returns an array of complex numbers whose size is
[n1 n2 n3 .... nn] .
R*exp(i*theta) , where,
R is independently and normally distributed with mean 0 and variance 1 .
theta of the elements of the output array
are independently and uniformly distributed between 0 and pi .