File Exchange

image thumbnail

Filter for discrete time signal

version 1.1 (3.34 KB) by

input: signal, Fs, filter: specific frequency, # of harmonics, shape, width output : a clean signal



View License

[y_fl, Y_fl, f, Y, f_fl, fl_function, filter]=f4ts(y,Fs,filter,plot1)

filter that clean the signal from diffrent kind of noise. input : signal in time, Fs (frequency of sampelling), and the filter : a spacific frequency to filter, # of harmonics (can be default), shape of the filter : square(default), gaussian, lorentzian, and filter width@ Full width half max(can be default).
can be used in older ver. of matlab

Comments and Ratings (4)


Briand (view profile)



Briand (view profile)


Fan D.Chen

This program is perfect, I have to say, thank you

itamar luzon

please make a comment, so i could make it better. note that the filter work better on a signal with noise than on a clean signal.



changed the input from frequency domain to the raw time domain, and make is more simple to use, with a good example

MATLAB Release
MATLAB 8.0 (R2012b)
Tags Add Tags

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Win prizes and improve your MATLAB skills

Play today