WOLFRAM
Products
Wolfram|One
Mathematica
Wolfram Notebook Assistant + LLM Kit
Wolfram|Alpha Notebook Edition
System Modeler
All Products
Consulting & Solutions
Wolfram Consulting
Industry Solutions
Solutions for Education
Learning & Support
Wolfram U Courses
Wolfram Language Resources
Wolfram Community
Support FAQs
Contact Support
Company
About Wolfram
Careers
Events
Educational Programs
All Sites and Resources
Wolfram|Alpha
Wolfram Cloud
Your Account
Your Account
User Portal
Search
Close
Enable JavaScript to interact with content and submit forms on Wolfram websites.
Learn how
Legacy Documentation
Digital Image Processing
(2000)
This is documentation for an obsolete product.
Current products and services
Function Index
FrequencySamplingFilter
FrequencySamplingFilter[
N
, {
a
1
,
a
2
, ...
}]
returns a linear-phase FIR filter of length
N
given a list of real amplitude values
{
a
1
,
a
2
, ...
}
.
The option
EvenSymmetry
→
True
(the default) results in linear-phase FIR filters with even symmetry.
h[n] = h[N-n]
where
N
is the filter length.
The option
EvenSymmetry
→
False
results in linear-phase FIR filters with odd symmetry, such as Hilbert transformers and differentiators
h[n] = - h[N-n]
where
N
is the filter length.
The option
FrequencySamplingGrid
→
0
(the default) results in a sampling of the frequency domain at points
for i=0,1,...,N-1.
The option
FrequencySamplingGrid
→
1/2
results in a sampling of the frequency domain at points
for i=0,1,...,N-1.
See also User's Guide
9.3
.
Example
This loads the package.
In[1]:=
This returns a length N=15, symmetric, linear-phase FIR lowpass filter with the passband edge at
Hz.
In[2]:=
Out[2]=
In[3]:=
Out[3]=
This returns a length N=8, full-band differentiator. An even-length differentiator is a Type 4 linear-phase FIR filter.
In[4]:=
Out[4]=
This plots the filter's magnitude response.
In[5]:=
Out[5]=