Signal RMS

版本 1.1.0.0 (1.6 KB) 作者: Bolu Ajiboye
Calculates windowed RMS of signals
14.0K 次下载
更新时间 2009/8/14

查看许可证

% Calculates windowed (over- and non-overlapping) RMS of a signal using the specified windowlength
% y = rms(signal, windowlength, overlap, zeropad)
% signal is a 1-D vector
% windowlength is an integer length of the RMS window in samples
% overlap is the number of samples to overlap adjacent windows (enter 0 to use non-overlapping windows)
% zeropad is a flag for zero padding the end of your data...(0 for NO, 1 for YES)
% ex. y=rms(mysignal, 30, 10, 1). Calculate RMS with window of length 30 samples, overlapped by 10 samples each, and zeropad the last window if necessary
% ex. y=rms(mysignal, 30, 0, 0). Calculate RMS with window of length 30 samples, no overlapping samples, and do not zeropad the last window

引用格式

Bolu Ajiboye (2024). Signal RMS (https://www.mathworks.com/matlabcentral/fileexchange/11871-signal-rms), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2008b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Audio and Video Data 的更多信息

Community Treasure Hunt

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

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

Allowed for overlapping and non-overlapping windows as an input

1.0.0.0