zero padding in matrix
Afficher commentaires plus anciens
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 commentaire
Roger Stafford
le 29 Avr 2016
You can't precisely center a 5x5 block in a 200x200 block! In which direction do you want it to be off-center?
Réponse acceptée
Plus de réponses (1)
Anvinder Singh
le 29 Avr 2016
0 votes
Catégories
En savoir plus sur Polynomials dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!