matrix operation resize matrix
2 views (last 30 days)
Show older comments
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
0 Comments
Accepted Answer
Azzi Abdelmalek
on 22 Mar 2013
Edited: Azzi Abdelmalek
on 22 Mar 2013
A=rand(36,44) % example
A(36+1:48,44+1:48)=0
0 Comments
More Answers (0)
See Also
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!