I have four 1x50 matrices and I want to save them to one 4x50 matrix. How can I do this?
이전 댓글 표시
I have four 1x50 matrices and I want to save them to one 4x50 matrix. How can I do this?
댓글 수: 2
Jan
2013년 2월 5일
@Teemu: I strongly suggest, that you ask the admins to restore your question. Otherwise there is the chance, that the contributors will ignore your questions in the future, because they could assume, that you are not serious. You find the address at the bottom of this page or you can ask randy Souza. Thanks.
채택된 답변
추가 답변 (2개)
Youssef Khmou
2013년 2월 5일
Suppose your matrices are A,B,C,D all with size 1x50 :
M=zeros(4,50);
M(1,:)=A;
M(2,:)=B;
M(3,:)=C;
M(4,:)=D;
Ryan Livingston
2013년 2월 5일
A = rand(1,50);
B = rand(1,50);
C = rand(1,50);
D = rand(1,50);
E = [A;B;C;D];
카테고리
도움말 센터 및 File Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!