how to arrange different matix as a contineus single matrix

I want to convert three matrix set into a single one. for example a=[1,2,3], b=[4,5,6], c=[8,9,10,12,13] the output i expect is
output1=[1,2,3,4,5,6,8,9,10,12,13]

 Réponse acceptée

Purushottama Rao
Purushottama Rao le 12 Mai 2015
Output1=horzcat(a,b,c)

3 commentaires

Or
Output1 = [a, b, c];
which will call horzcat.
thanks alot rao, it was a great help
Pls accept the answer if you like it.

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by