Concatenate vectors or matrices under MatlabHorizontal concatenation. Horizontal concatenation can be done using vectors, matrices or simple variables. The two variables (X and Y) must have the same number of rows.Vertical concatenation. Vertical concatenation can be done using vectors, matrices or simple variables. The two variables (X and Y) must have the same number of columns.Further calculations. You can concatenate a row with a column, transposing a row as a column or vice versa. You can extend this principle to cover multiple variables.

For More Information Please Refer:

You May Also Like to Read: