User`s guide
Pad
5-337
5Pad
Purpose Alter the input size by padding or truncating rows and/or columns.
Library Signal Operations
Description The Pad block changes the size of the input matrix from M
i
-by-N
i
 to M
o
-by-N
o
by padding or truncating along the rows, the columns, or both dimensions. The 
dimensions of the output, M
o
 and N
o
, are specified by the Number of output 
rows
 and Number of output columns parameters, respectively. The value 
with which to pad the input is set by the 
Value parameter.
The behavior of the Pad block and Zero Pad block are identical, with the 
exception that the Pad block can pad the input matrix with values other than 
zero. See the Zero Pad block reference for more information on the behavior of 
the Pad block.
Dialog Box
Value
The scalar value with which to pad the input matrix. Tunable.
Pad along
The direction along which to pad or truncate. 
Columns specifies that the 
row dimension should be changed to M
o
. Rows specifies that the column 
dimension should be changed to N
o
. Columns and rows specifies that both 
column and row dimensions should be changed. 
None disables padding and 
truncation and passes the input through to the output unchanged.










