how to copy first column form any array to contain other array
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
hello every one I have a question ?
I have 100 picture and covert to array so I have many array(100). I want to copy first column from first array to contain on first column in array A(new empty array) after that copy first column from second array to contain on second column in array A and copy first column from third array to contain on third column in array A until all array(100)
help me please
Réponses (1)
madhan ravi
le 7 Nov 2018
A{1,100} %PRE-ALLOCATION
for i = 1:100
A(:,i)=array(:,i);
end
A
2 commentaires
auttapon sripradit
le 7 Nov 2018
auttapon sripradit
le 7 Nov 2018
Modifié(e) : auttapon sripradit
le 7 Nov 2018
Cette question est clôturée.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!