sir i want to conver 4*4 matrix into 8*8 matrix by adding zeros ..what is matlab code for that

 採用された回答

Andreas Goser
Andreas Goser 2014 年 3 月 31 日

0 投票

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 件のコメント

Jitesh Bhanushali
Jitesh Bhanushali 2014 年 3 月 31 日
thank u sir i have 64*64 matrix and i want to convert every 4*4 block of 64*64 matrix into 8*8 matrix..how to do this
Andreas Goser
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 件)

カテゴリ

ヘルプ センター および File Exchange で Simulink についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by