passive RC highpass magnitude FRF to MATLAB FIR coefficients
조회 수: 5 (최근 30일)
이전 댓글 표시
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
채택된 답변
Star Strider
2023년 8월 4일
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Filter Design에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!