Owning Class: linalgebra
Requires: MathScript RT Module
c = hconcatmx(a, b, ...)
Legacy Name: horzcat
Horizontally concatenates the input matrices. hconcatmx(a, b, ...) is equivalent to [a, b, ...]. You can specify an unlimited number of input matrices. All matrices must have the same number of rows.
| Name | Description |
|---|---|
| a | Specifies a matrix. |
| b | Specifies a matrix. |
| Name | Description |
|---|---|
| c | Returns the horizontal concatenation of a and b. c is a matrix. |
A = [1, 2; 3, 4]
B = [5, 6; 7, 8]
C = hconcatmx(A, B)