joining of 2 matricces
Mostra commenti meno recenti
hellow everyone . i have 2 following matricces .Say A =['dog' ;'cat' ; 'cow'] . B= [1;2;3] . now i want to get a matrix C such that C=['dog' 1;'cat' 2;'cow' 3]. please help me out.
Risposta accettata
Più risposte (1)
Yawar Rehman
il 5 Set 2014
A = ['dog '; 'cat '; 'cow '];
B = [1 ; 2 ; 3]; B = num2str(B);
comb = [A B]
1 Commento
pradeep kumar
il 5 Set 2014
Categorie
Scopri di più su Performance and Memory in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!