horzcat

description:

A = horzcat(varargin) performs horizontal concatenation. horzcat(A,B) or [A B] or [A,B] is the horizontal concatenation of matrices A and B.  A and B must have the same number of rows. Any number of matrices can be concatenated within one pair of brackets.

arguments:

matrices of NCpolys with the same number of rows

output:

matrix of NCpolys

possible usage:

[A1 A2 ... An], [A1, A2, ..., An], horzcat(A1, A2, ..., An)

example:

>> A=[x y;-y x^2]

A = x     y

   -y   x^2

>> B=[1+x^2;y^2+1]

B = 1+x^2

    1+y^2

>> [B A B]

ans = 1+x^2    x     y   1+x^2

      1+y^2   -y   x^2   1+y^2