FUNCTION REFERENCE
downsample
Keep every n-th sample.
Keep every n-th sample.
Syntax
downsample(x, n)Syntax
downsample(x, n, phase)phase is an integer from 0 to n-1 and selects the first kept sample.
Example
downsample([1 2 3 4 5], 2) % [1 3 5]Differences from MATLAB: Real numeric 2-D arrays only.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.