File Exchange

image thumbnail

Process Raw Data

version 1.0.0 (1.49 KB) by Ayad Al-Rumaithi
Zero-phase bandpass digital filter with windowing and detrending


Updated 27 Jun 2019

View License

Process raw data with the following:-
-zero-phase bandpass digital filtering
-windowing with tukey window
-removing the best straight-fit line from the data (detrending)

function [Result]=Process_Raw_Data(Data,fs,Fc1,Fc2,FiltOrd1,FiltOrd2,TprRat)

Data: raw data of size (Ndata,n). Ndata is data length. n is the number of channels
fs: sampling frequency
Fc1,Fc2: filter cutoff frequencies for highpass and lowpass filters
FiltOrd1,FiltOrd2 :filter orders for highpass and lowpass filters
TprRat: window taper ratio of tukey windowing (Typical 0.05)

Result: Processed data of size (Ndata,n)

Cite As

Ayad Al-Rumaithi (2020). Process Raw Data (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux