Parameter | Details |
---|---|
sz | n (for an n x n matrix) |
sz | n, m (for an n x m matrix) |
sz | m,n,...,k (for an m-by-n-by-...-by-k matrix) |
datatype | 'double' (default), 'single', 'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32', 'int64', or 'uint64' |
arraytype | 'distributed' |
arraytype | 'codistributed' |
arraytype | 'gpuArray' |
These functions will create a matrix of doubles, by default.