Quaternion Function Reference

vertcat

Vertical concatenation
(Quaternion overloading of standard MATLAB® function)

Syntax

Y = vertcat(A, B, C, ....)

Description

vertcat overloads a fundamental MATLAB® operation for quaternion arrays in order to make possible concatenation operations using the MATLAB® square bracket notation. It is not normally called directly as a function.

Quaternion arrays may be concatenated with non-quaternion arrays provided the non-quaternion arrays are numeric. The non-quaternion arrays will be converted to quaternion arrays by supplying a zero vector part.

Examples

The example below shows explicit and implicit calls to the function, both of which will work. On the right hand side, MATLAB® calls the function implicitly in order to implement the concatenation of quaternion operands.
>> vertcat(qi, qj, qk) == [qi; qj; qk]

ans =

     1
     1
     1

See Also

QTFM function: horzcat
MATLAB® function: vertcat

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

License terms.