How to concatenate matrices in Matlab



2
4206

How to concatenate matrices and vectors in Matlab Concatenation can be done horizontally or vertically provided the dimensions of each vector or matrix is an appropriate dimension. The syntax for horizontal concatenation is x = [a,b] and the syntax for vertical concatenation is x = [a;b] where a and b are both matrices.

Published by: FigureAssist Published at: 7 years ago Category: آموزشی