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?
Afficher commentaires plus anciens
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?
Réponses (1)
Abhishek
le 24 Jan 2025
0 votes
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:
Catégories
En savoir plus sur Hamming dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!