zero padding in matrix
27 ビュー (過去 30 日間)
古いコメントを表示
Hi, I have a 5x5 matrix and i would like to pad it with zeros such that its size becomes 200x200 and the 5x5 matrix is in the middle of the 200x200. Please help.
1 件のコメント
Roger Stafford
2016 年 4 月 29 日
You can't precisely center a 5x5 block in a 200x200 block! In which direction do you want it to be off-center?
採用された回答
その他の回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Shifting and Sorting Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!