passive RC highpass magnitude FRF to MATLAB FIR coefficients
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
David W Purcell
le 4 Août 2023
Commenté : Star Strider
le 16 Août 2023
Hello,
I have a GRASS EEG LP511 amplifier. It has a high-pass filter that is described as passive with 12 dB/octave slope. I imagine it is something like two simple RC high-pass filters in series. I can measure the magnitude frequency response function easily and I know the cut-off frequency (-6dB at 3 Hz).
I would like to implement this as an FIR filter in MATLAB.
I am having trouble sorting out how to obtain the FIR filter coefficients to match my analogue high-pass filter.
Could anyone help? Please assume I don't have a strong enough background and will need thorough explanations. Many Thanks! DP
0 commentaires
Réponse acceptée
Star Strider
le 4 Août 2023
I generally don’t design filters with such specificity, and so usually use relatively straightforward command-line functions. To design a filter such as yours, I would use the designfilt function (introduced in R2014a). It has a number of arguments, as well as ‘Filter Designer’, a GUI interface that can make this easier. (If you use Filter Designer, click on the ‘File’ tab and then click on ‘Generate MATLAB Code’ to use the filter code wtih the filtfilt function and your signal.) Use filtfilt to do the actual filtering regardless of how you design and code the filter.
6 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Frequency Transformations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!