Member of the resampling class.
y = downsample(x, n)
y = downsample(x, n, s)
Downsamples an input signal.
| Name | Description |
| x | Specifies the input signal. |
| n | Specifies the decimating factor. n is a positive integer. |
| s | Specifies the index of the start sample. s is a positive integer. |
| Name | Description |
| y | Returns the decimated signal. |
X = 1:10;
Y = downsample(X, 3, 2)