Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

how to copy first column form any array to contain other array

조회 수: 3 (최근 30일)
auttapon sripradit
auttapon sripradit 2018년 11월 7일
마감: MATLAB Answer Bot 2021년 8월 20일
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

답변 (1개)

madhan ravi
madhan ravi 2018년 11월 7일
A{1,100} %PRE-ALLOCATION
for i = 1:100
A(:,i)=array(:,i);
end
A
  댓글 수: 2
auttapon sripradit
auttapon sripradit 2018년 11월 7일
I am a beginner please start form convert picture to array. I know only convert one picture to one array
auttapon sripradit
auttapon sripradit 2018년 11월 7일
편집: auttapon sripradit 2018년 11월 7일
for example x1=[1 2;1 2] x2=[2 3;2 3] x3=[3 4;3 4]...x100=[100 101;100 101]
A=[1 2 3 4 ...100;1 2 3 4 ...100]

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by