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]

 Akzeptierte Antwort

Purushottama Rao
Purushottama Rao am 12 Mai 2015

0 Stimmen

Output1=horzcat(a,b,c)

3 Kommentare

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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by