convrt matrix into 8*8
조회 수: 1 (최근 30일)
이전 댓글 표시
sir i want to conver 4*4 matrix into 8*8 matrix by adding zeros ..what is matlab code for that
댓글 수: 0
채택된 답변
Andreas Goser
2014년 3월 31일
Your description is not clear. One example however:
A=zeros(8);
A(1:4,1:4)=B; % where B is your 4*4 matrix
댓글 수: 2
Andreas Goser
2014년 3월 31일
Depends on the conversion rule you want to apply. Can you give one example with actual numbers before and after?
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Numeric Types에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!