Pad array
pads array B
= padarray(A
,padsize
)A
with an amount of padding in each dimension
specified by padsize
. The padarray
function pads numeric or logical images with the value 0
and
categorical images with the category <undefined>
. By default,
paddarray
adds padding before the first element and after the
last element of each dimension.