winsinc

Applies a windowed sinc filter.
4.2K Downloads
Updated 1 May 2006

No License

Applies a windowed sinc filter

USAGE:
[xf,Rh,Fh] = winsinc(x,dt,fc,ns,ftype,fo)

DESCRIPTION:
Windowed Sinc Filter. This is a digital symetric non-recursive filter which can be Lowpass, Highpass, or Bandpass by using a windowed sinc function.Non-Recursive filters are based on convolving the input series with a weight function.Their advantage compared to recursive filters is that they are always stable and matematically simpler.Their disadvantage is that they may require a large number of weights to achieve a desired response.

INPUT VARIABLES:
x = vector
dt = Sampling Interval
fc = Cutoff frequency
ns = Width of filter
(>>ns produces a steeper cutoff
but is more computationally expensive)
2*ns + 1 = Order of Filter, (Number of Filter Coef.)
win = Window Type:
'welch','parzen','hanning','hamming'
'blackman','lanczos','kaiser'

ftype = 'low', 'high' o 'pass'
fo = Central Frequency (for bandpass only)

OUTPUT VARIABLES:
xf = filtered vector
Rh = Filter Response
Fh = Frequencies for Filter Response

Cite As

Alex Sanchez (2024). winsinc (https://www.mathworks.com/matlabcentral/fileexchange/8574-winsinc), MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

updates