how zero padding is done in matlab with matlab code

 Accepted Answer

Jason
Jason on 24 Aug 2011

0 votes

Refer to padarray function.

2 Comments

Sean de Wolski
Sean de Wolski on 24 Aug 2011
Image Processing Toolbox required.
DGM
DGM on 13 Feb 2024
Edited: DGM on 13 Feb 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.

Sign in to comment.

More Answers (1)

Steven Lord
Steven Lord on 13 Feb 2024

1 vote

If you're using release R2023b or later, see the paddata function introduced in MATLAB in release R2023b.

Categories

Tags

No tags entered yet.

Asked:

on 24 Aug 2011

Edited:

DGM
on 13 Feb 2024

Community Treasure Hunt

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

Start Hunting!