vmrnd
Random arrays from the von Mises distribution.
r = vmrnd (mu, k)
returns an array of random angles
chosen from a von Mises distribution with mean direction parameter mu
and concentration parameter k on the interval [-pi, pi]. The size of
r is the common size of the input arguments. A scalar input functions
as a constant matrix of the same size as the other inputs.
When called with a single size argument, return a square matrix with the dimension specified. When called with more than one scalar argument the first two arguments are taken as the number of rows and columns and any further arguments specify additional matrix dimensions. The size may also be specified with a vector of dimensions sz.
Source Code: vmrnd