Filter Designer to create FIR filters

4 次查看(过去 30 天)
I am trying to create the filters below with the Filter Designer application in Matlab, but I can't find the settings for the Blackman and Hamming windows. Can someone tell me where they are?
Design a FIR filter with Blackman window. Set Fc =1800 Hz and Fs = 8Khz. Keep increasing order of the filter until your first stopband null coincides to stopband edge frequency of 2 Khz.
Design a FIR filter with Hamming window. Set Fc =1800 Hz and Fs = 8Khz. Keep increasing order of the filter until your first stopband null coincides to stopband edge frequency of 2 Khz.

采纳的回答

Samatha Aleti
Samatha Aleti 2019-11-6
You can design FIR filter with specific windowing technique using fir1 function in MATLAB. As an example, for Hamming window:
b = fir1(48,[0.35 0.65]); % b: filter coefficients
After running this command, the filter coefficients get stored in variable “b”.
You can then import this filter in the Filter Designer app. To import the filter, go to Filter Designer app and do the following:
  • Click on File >> Import Filter from Workspace
  • Select the filter structure
  • Give the variable name (“b” here) in which the filter coefficients are stored
  • Specify the sampling frequency
  • Click on Import Filter
Refer the following link, to know how to use “fir1” function:
Following are the documentation links for “filerDesigner” app and “windowDesigner” app:

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Filter Design 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by