How can I get the coefficients using the fir filter and hamming window in y = decimate(x,r,"fir") , so I can simulate this function output in another program?

조회 수: 5 (최근 30일)
In using this function in matlab y = decimate(x,r,"fir"), I have got an output that I want to create in another program without using matlab. Where can I get the specs, coefficients, and weights to replicate this fir filter and hamming window?

답변 (1개)

Abhishek
Abhishek 2025년 1월 24일
I suppose you want to know the filter coefficients generated and the underlying Hamming window coefficients used in the "decimate" function. The following resources would be helpful:
  • The algorithms section of the "decimate" function which mentions the use of "fir1" function to design the FIR filter with given cutoff frequency. Refer to the links for more information:
  • The 'window' argument for the "fir1" function which describes the default Hamming window used, see:

카테고리

Help CenterFile Exchange에서 Hamming에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by