convrt matrix into 8*8
2 次查看(过去 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!