postpad
Calling Sequence
Y = postpad (X, L)
Y = postpad (X, L, C)
Parameters
X:
Input vector or matrix of real numbers.
L:
The length of the final postpadded sequence.
C:
number used for postpadding.
Y:
Output
Description
Append the scalar value C to the vector X until it is of length L.
If C is not given, a value of 0 is used.
If 'length (X) > L', elements from the end of X are removed until a vector of length L is obtained.
Examples
Authors
Sonu Sharma, RGIT Mumbai (fellow at FOSSEE, IIT Bombay)