convrt matrix into 8*8

2 visualizaciones (últimos 30 días)
Jitesh Bhanushali
Jitesh Bhanushali el 31 de Mzo. de 2014
Comentada: Andreas Goser el 31 de Mzo. de 2014
sir i want to conver 4*4 matrix into 8*8 matrix by adding zeros ..what is matlab code for that

Respuesta aceptada

Andreas Goser
Andreas Goser el 31 de Mzo. de 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 comentarios
Jitesh Bhanushali
Jitesh Bhanushali el 31 de Mzo. de 2014
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 el 31 de Mzo. de 2014
Depends on the conversion rule you want to apply. Can you give one example with actual numbers before and after?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Numeric Types en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by