Akzeptierte Antwort

Ameer Hamza
Ameer Hamza am 31 Dez. 2020
Bearbeitet: Ameer Hamza am 31 Dez. 2020
For example
im = imread('https://www.mathworks.com/matlabcentral/answers/uploaded_files/475268/img.png');
pad_size = 20;
im_new = padarray(im, [pad_size pad_size]);
imshow(im_new)

2 Kommentare

Thank you so much !
I am glad to be of help!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by