matrix operation resize matrix

5 Ansichten (letzte 30 Tage)
Internazionale
Internazionale am 22 Mär. 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

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 22 Mär. 2013
Bearbeitet: Azzi Abdelmalek am 22 Mär. 2013
A=rand(36,44) % example
A(36+1:48,44+1:48)=0

Weitere Antworten (0)

Kategorien

Mehr zu Resizing and Reshaping Matrices finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by