Easy Bandpass Filter
Version 1.0.0.0 (2.26 KB) by
Wonsang You
Simplified band-pass filtering without external toolboxes.
It performs band-pass filtering of a time series with the rectangle window in frequency domain, "without external toolboxes". An example code is given as follows to filter a time series in the pass band of 200~300 Hz:
Fs = 1000;
t = linspace(0,1,Fs);
x = cos(2*pi*100*t)+0.5*randn(size(t));
y = bpfilt(x,200,300,1000);
Cite As
Wonsang You (2024). Easy Bandpass Filter (https://www.mathworks.com/matlabcentral/fileexchange/58219-easy-bandpass-filter), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2010a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Digital Filtering in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | An example code was added in description. |