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 (2026). winsinc (https://www.mathworks.com/matlabcentral/fileexchange/8574-winsinc), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Signal Processing > Signal Processing Toolbox > Digital and Analog Filters > Digital Filter Analysis >
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | updates |
