zero padding
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
how zero padding is done in matlab with matlab code
1 commentaire
Hans Scharler
le 13 Fév 2024
I saw your Discussion thread @Image Analyst and thought maybe there is a MATLAB answer for this question - https://www.mathworks.com/matlabcentral/discussions/tips/845271-trick-to-enlarge-a-matrix-by-padding-it-with-zeros
Réponse acceptée
Jason
le 24 Août 2011
Refer to padarray function.
2 commentaires
DGM
le 13 Fév 2024
Modifié(e) : DGM
le 13 Fév 2024
While it wasn't an option in 2011, MIMT does have a wrapper function padarrayFB(), which will work either with or without IPT installed. Downloading MIMT just for a simple zero padding task seems a bit like overkill, but I guess it depends what it's worth.
Plus de réponses (1)
Steven Lord
le 13 Fév 2024
If you're using release R2023b or later, see the paddata function introduced in MATLAB in release R2023b.
0 commentaires
Voir également
Catégories
En savoir plus sur Downloads dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!