Owning Class: resampling
Requires: MathScript RT Module
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 nonnegative integer. |
| Name | Description |
|---|---|
| y | Returns the decimated signal. |
X = 1:10;
Y = downsample(X, 3, 2)