<< Game of Life of Conway Game of Life of Conway conway >>

Game of Life of Conway >> Game of Life of Conway > concat

concat

Concatenate two matrices in diagonal

Syntax

[A]=concat(M,N)

Parameters

M:

matrix

N:

matrix

A:

concatenatated matrix

Description

concat produces the horiziontal and vertical concatenation of matrices M and N. concat is an internal function of the Game of Life package for Scilab.

Examples

// Concatenate
// a 2 by 3 matrix of ones and
// a 4 by 5 matrix of random numbers.
//
M=ones(2,3),..
N=rand(4,5),..
A=concat(M,N)

Authors


Report an issue
<< Game of Life of Conway Game of Life of Conway conway >>