Block average of signal

Take the average of blocks in the signal. The best match using correlation can be used
457.0 次下载
更新时间 2013/6/3

查看许可证

USAGE
data_mean = block_average(data,start_end)
data_mean = block_average(data,start_end,shift)

INPUT
- DATA: NxM matrix with M signals along the rows
- START_END: Bx2 matrix with the first and last elements to take the average
- SHIFT: maximum number of data points to shift the elements in START_END to find the best match (greatest correlation coefficient). Only the first column in DATA is optimized. The same shift will be applied to all other columns.

OUTPUT
- DATA_MEAN: average of DATA along the rows for the elements in START_END

EXAMPLE
>> data_mean = block_average(data,[5 35;35 65;65 95],3);

引用格式

Guilherme Coco Beltramini (2024). Block average of signal (https://www.mathworks.com/matlabcentral/fileexchange/41981-block-average-of-signal), MATLAB Central File Exchange. 检索时间: .

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

Community Treasure Hunt

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

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

Added screenshot

1.0.0.0