# Manuals/calci/MATRIXJOIN

Jump to navigation
Jump to search

**MATRIXJOIN (a,b)**

- and are any two matrices.

## Description

- This function is used to join each row of the matrices.
- In , and are any two matrices.
- Here all the entries in the first row of the first matrix is joined with the first row of the second matrix.
- In the same way all the respected rows joining first matrix with second matrix.
- In this number of the rows of first and second matrix should be the same.
- If any one of the rows are not equal then this function will return the result as NaN.

## Examples

1. MATRIXJOIN([2,7,6;4,5,6],[3,5,4;9,6,1])

2 | 7 | 6 | 3 | 5 | 4 |

4 | 5 | 6 | 9 | 6 | 1 |

2. MATRIXJOIN([2,4,0;8,7,2;0,-2,7],[3,-5,-9;7,5,1;4,8,12])

2 | 4 | 0 | 3 | -5 | -9 |

8 | 7 | 2 | 7 | 5 | 1 |

0 | -2 | 7 | 4 | 8 | 12 |