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

 채택된 답변

Dishant Arora
Dishant Arora 2014년 3월 31일
편집: Dishant Arora 2014년 3월 31일

0 개 추천

originalArray = ones(64);
C = mat2cell(A , 4*ones(1,16) , 4*ones(1,16))
C = cellfun(@(x) padarray(x , [2,2]) , C , 'Un' , 0)
outputArray = cell2mat(C)

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

질문:

2014년 3월 31일

편집:

2014년 3월 31일

Community Treasure Hunt

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

Start Hunting!

Translated by