Filtering, Detrending, and Windowing of a Signal
版本 1.0.3 (1.5 KB) 作者:
Ayad Al-Rumaithi
Zero-phase bandpass digital filter with detrending and windowing
Process raw data with the following:-
-zero-phase bandpass digital filtering
-removing the straight-fit line from the data (detrending)
-windowing with tukey window
function Result=Filter_Detrend_Window(Sig,fs,fc1,fc2,orderh,orderl,taper)
Input:
Sig: input signal of size (N,n). N is signal length. n is the number of channels
fs: sampling frequency
fc1,fc2: filter cutoff frequencies for highpass and lowpass filters
orderh,orderl: filter orders for highpass and lowpass filters
taper: window taper ratio of tukey windowing (Typical 0.05)
Output:
Result: Processed signal of size (N,n)
引用格式
Ayad Al-Rumaithi (2024). Filtering, Detrending, and Windowing of a Signal (https://www.mathworks.com/matlabcentral/fileexchange/71965-filtering-detrending-and-windowing-of-a-signal), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2017b
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Digital Filtering 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!