iam having a matrix of (128*128*24)and another of 128*128 double..how can i concatenate this..
조회 수: 1 (최근 30일)
이전 댓글 표시
iam having a matrix of (128*128*24)and another of 128*128 double..how can i concatenate this..
댓글 수: 0
답변 (2개)
Azzi Abdelmalek
2012년 10월 19일
편집: Azzi Abdelmalek
2012년 10월 19일
your first matrix A size is 128*128*24. If you concatenate any matrix to A the result size, obviously will change! why are you expecting the final size to be the same? have you read Matt's comment?
댓글 수: 1
Azzi Abdelmalek
2012년 10월 19일
Unless you want to replace one matrix by another, in this case use for example
A=rand(128,128,4);B=rand(128,128)
A(:,:,1)=B;
참고 항목
카테고리
Help Center 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!