quantfilt1

版本 1.2.0.0 (2.9 KB) 作者: Matt Stead
quantfilt1() is a span-order quantile filter for one-dimensional arrays
4.0 次下载
更新时间 2019/10/25

查看许可证

qx = quantfilt1(x, quantile, span, [tail_option])

quantfilt1() is a span-order quantile filter for one-dimensional arrays
quantile is the proportion of the window data whose value is returned at the center of each window
span is the filter order (window size)

quantile range: [0 to 1] Examples: 0.0 == local minimum filter
0.5 == local median filter
1.0 == local maximum filter

For odd span, qx(i) is the quantile value of x((i - ((span - 1) / 2)) : (i + ((span - 1) / 2)))
For even span, qx(i) is the quantile value of x((i - ((span - 2) / 2)) : (i + (span / 2)))

Tail half-windows are treated with the following options:
'truncate': fill with the quantile values of progressively shrinking windows (default)
'extrapolate': fill with the quantile values of closest full window
'zeropad': fill with zeros

引用格式

Matt Stead (2024). quantfilt1 (https://www.mathworks.com/matlabcentral/fileexchange/73059-quantfilt1), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2019b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Sparse Matrices 的更多信息
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.2.0.0

minor changes in code, output unchanged

1.1.0.0

minor bug fixed

1.0.0