A= [2 3 4]; B=[2 3 4]; Output C=[22 33 44]; Merge 2 matrix elements
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
HI,
I want to merge a matrix A(1xN) with B(1xN)....The elements in both matrices are same.....the output C(1xN) should merge both matrices......
Thank you
1 Kommentar
Akzeptierte Antwort
Weitere Antworten (3)
Azzi Abdelmalek
am 12 Nov. 2012
Bearbeitet: Azzi Abdelmalek
am 12 Nov. 2012
A=[11 22 33];
c=num2str(A')
d=[c,c]
B=str2num(d)
B=B'
0 Kommentare
Siehe auch
Kategorien
Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!