convrt matrix into 8*8
3 views (last 30 days)
Show older comments
Jitesh Bhanushali
on 31 Mar 2014
Commented: Andreas Goser
on 31 Mar 2014
sir i want to conver 4*4 matrix into 8*8 matrix by adding zeros ..what is matlab code for that
0 Comments
Accepted Answer
Andreas Goser
on 31 Mar 2014
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 Comments
Andreas Goser
on 31 Mar 2014
Depends on the conversion rule you want to apply. Can you give one example with actual numbers before and after?
More Answers (0)
See Also
Categories
Find more on Numeric Types in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!