cutoff frequency for lowpass filter
조회 수: 16 (최근 30일)
이전 댓글 표시
Hello!
To get the cutoff frequency when using lowpass() function, I used powerbw(x,Fs) function.
Is this correct?
Thanks
댓글 수: 0
채택된 답변
Star Strider
2020년 5월 11일
‘Is this correct?’
That depends on the signal, and on what you want to do. The powerbw funciton returns the -3 dB frequencies if you request them (see: Bandwidth of Bandlimited Signals). For a lowpass filter, you would likely use the fhi output, if the intent is to use that part of the spectrum, or flo to exclude it.
It is probably as good a method as any of choosing a frequency for a filter. (I characteristically calculate the fft of the signal and then use it to design the filter, however there a definitely other ways.)
댓글 수: 10
Star Strider
2020년 5월 12일
As always, my pleasure!
No worries — I just want to be sure that you are not overshadowing filtfilt.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Digital and Analog Filters에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
