How to pad ones at end of the image?

6 views (last 30 days)
Hi I want to pad ones at end of image.Help me please....
  1 Comment
Jing on 5 Jun 2013
Do you want to insert a black or white frame outside of the image?

Sign in to comment.

Accepted Answer

Shaun VanWeelden
Shaun VanWeelden on 5 Jun 2013
There is literally a function called padarray.. It does a pretty nice job. It's even in the image processing toolbox!

More Answers (0)


Find more on Multidimensional Arrays 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!