Filter Designer to create FIR filters

3 ビュー (過去 30 日間)
Nathan Jaqua
Nathan Jaqua 2019 年 11 月 3 日
回答済み: Samatha Aleti 2019 年 11 月 6 日
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 Center および File ExchangeFilter Design についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by