This simple function resamples a vector or matrix for decimation using a fast, fully vectorized processing, and proposes different methods to compute the resulting samples from original data: mean value (default), median, sum (useful for cumulative data), min or max.
François Beauducel, IPGP, beaudu, [email protected]
Type 'doc decim' for help and syntax.