By Kardi Teknomo, PhD .
LinearAlgebra

< Next | Previous | Index >

It is often useful to think of a matrix composed of two or more sub-matrices or blocks of matrices. A matrix can be partitioned into smaller matrices by setting a horizontal line or a vertical line.


Horizontal Concatenation


Horizontal Concatenation

Matrix horizontal concatenation is an operation to join two sub matrices horizontally into one matrix. This is the reverse operation of partitioning.


Example
Horizontal Concatenation Horizontal Concatenation
Horizontal concatenation of the two matrices is adjoining matrix Horizontal Concatenation to matrix Horizontal Concatenation to produces augmented matrix
Horizontal Concatenation
When we concatenate horizontally, the number of rows of the two input matrices must be the equal.




The interactive program below produces horizontal concatenation of the two input matrices. Your input matrices must have the same number of rows. Random Example will generate random matrices at the proper size. Experiment with your own input matrices to gain more understanding about matrix augmentation.

;

< Next | Previous | Index >

See also : matrix vertical concatenation

Rate this tutorial or give your comments about this tutorial

This tutorial is copyrighted .