The interpolation array I_{Pts} represents
the points in time at which to interpolate values of the input signal. An entry of 1
in I_{Pts} refers to the first sample of the
input, an entry of 2.5 refers to the sample halfway between the second and third
input sample, and so on. In most cases, when
I_{Pts} is a vector, it can be of any
length.
Valid values in the interpolation array,
I_{Pts}, range from 1 to the number of
samples in each channel of the input. To learn how the block handles out-of-range
interpolation values, see Out of range
interpolation points
.
Depending on the dimension of the input and the dimension of
I_{Pts}, the block usually applies
I_{Pts} to the input in one of the
following ways:
Applies the I_{Pts} array across
the first dimension of an N-D array, resulting in an
N-D array output.
Applies the vector I_{Pts} to each
input vector (as if the input vector were a single channel), resulting in a
vector output with the same orientation as the input (row or column).
These tables summarize how the block applies the interpolation array
I_{Pts} to all the possible types of
inputs and shows the resulting output dimensions.
The first table describes the block's behavior when the Source of
interpolation points
is Specify via
dialog
.
Specify Interpolation Points Through Dialog
Box
Input Dimensions | Valid Dimensions of Interpolation Array
I
_{Pts}
| How Block Applies I
_{Pts} to Input | Output Dimensions (Frame-Based) |
---|
M-by-N-by-K
matrix | P-by-1 column | Applies I_{Pts} to
the first dimension of the input | P-by-N-by-K
array |
P-by-N-by-K
matrix | Applies each column of
I_{Pts} (each element
of I_{Pts}) to the
corresponding column of the input matrix | P-by-N-by-K
array |
M-by-N
matrix | 1-by-N row | Applies each column of
I_{Pts} (each element
of I_{Pts}) to the
corresponding column of the input matrix | 1-by-N row |
P-by-1 column | Applies I_{Pts} to
each input column | P-by-N
matrix |
P-by-N
matrix | Applies the columns of
I_{Pts} to the
corresponding columns of the input matrix |
M-by-1 column | P-by-1 column | Applies
I_{Pts} to the input
column | P-by-1 column |
1-by-N
row (not recommended) | 1-by-N row | Not Applicable. Block copies input
vector | 1-by-N row, a copy of the
input vector |
P-by-1 column | P-by-N matrix
where each row is a copy of the input vector |
P-by-N
matrix |
The next table describes the block's behavior when the Source of
interpolation points is Input port
.
Specify Interpolation Points Through Input
Port
Input Dimensions | Valid Dimensions of Interpolation Array
I
_{Pts}
| How Block Applies I
_{Pts} to Input | Output Dimensions (Frame-Based) |
---|
M-by-N-by-K
matrix | Unoriented vector or column vector of length
P
| Applies
I_{Pts} to the first
dimension of the input | P-by-N-by-K
array |
P-by-N-by-K
matrix | Applies each column of
I_{Pts} (each element
of I_{Pts}) to the
corresponding column of the input matrix | P-by-N-by-K
array |
M-by-N
matrix | 1-by-N row | Applies each column of
I_{Pts} (each element
of I_{Pts}) to the
corresponding column of the input matrix | 1-by-N row |
P-by-1 column | Applies
I_{Pts} to each input
column | P-by-N
matrix |
P-by-N
matrix | Applies the columns of
I_{Pts} to the
corresponding columns of the input matrix |
M-by-1 column | P-by-1 column | Applies I_{Pts} to
the input column | P-by-1 column |
1-by-N
row (not recommended) | 1-by-N row | Not Applicable. Block copies input
vector | 1-by-N row, a copy of the
input vector |
P-by-1 column | P-by-N matrix
where each row is a copy of the input vector |
P-by-N
matrix |