matrix operation resize matrix

13 visualizaciones (últimos 30 días)
Internazionale
Internazionale el 22 de Mzo. de 2013
i have matrix, the size is 36x44. i want to process the matrix so the size is 48x48, but the different or the rest between 36x44 and 48*48, the value is 0

Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 22 de Mzo. de 2013
Editada: Azzi Abdelmalek el 22 de Mzo. de 2013
A=rand(36,44) % example
A(36+1:48,44+1:48)=0

Más respuestas (0)

Categorías

Más información sobre Resizing and Reshaping Matrices 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