Command Reference : Matrix Language Reference
  
 
@hcat
Syntax: @hcat(m1, m2)
Argument 1: matrix, vector or sym
Argument 2: matrix, vector or sym
Return: matrix
@hcat performs horizontal concatenation of two matrix objects. m1 and m2 must have the same number of rows. If m1 is a matrix with k rows and m columns, and m2 is a matrix with k rows and n columns, then @hcat will return a matrix with k rows and (m+n) columns.
See also @vcat.