Quaternion Function Reference

size

Size of matrix
(Quaternion and octonion overloadings of standard MATLAB® function)

Syntax

Y = size(X, N)

Description

size(X) returns the size of the quaternion array X.

size(X, N) returns the size of the N-th dimensions of the quaternion array X.

Examples

>> q = randq(4,5)
 
q = 4x5 quaternion array
 
>> size(q)

ans = 4     5

See Also

MATLAB® function: size

© 2008-2013 Stephen J. Sangwine and Nicolas Le Bihan

License terms.