十分简单啊:A=rand(10,5)B=reshape(A',50,1) 还有一种方法:A=rand(10,5);B=zeros(50,1);k=0;for i=1:10 for j=1:5 k=k+1; B(k,1)=A(i,j); endend B
任务占坑