LowPass filter order in Signal processing

조회 수: 12 (최근 30일)
Tobia Alessi
Tobia Alessi 2021년 1월 23일
답변: Frantz Bouchereau 2025년 5월 30일
Hi everyone,
I'm using signal analyzer app to filter data acquired by a load cell, the time values is in seconds. I want to filter data using a LowPass filter, but how can I know the order of this filter? I don't see the possibility to choose this option in the app.
I read that " lowpass uses a minimum-order filter with a stopband attenuation of 60 dB and compensates for the delay introduced by the filter", but that means I'm using a first oreder filter?
Thanks

답변 (2개)

Star Strider
Star Strider 2021년 1월 23일
The signalAnalyzer App is likely not going to be able to do what you want, since it analyzes the signal without designing any filters.
I suggest using the designfilt function instead to actually design the filter, once you decide what you want to do.
However it is relatively trivial to write your own Fourier transform code and then use the more recent (R2018a and later) filter design functions to design your filters. See for example my Answer to Removing jumps from data when plotting a graph doing exactly that sort of analysis and filter design. That code analyses the signal in the frequency domain, and then designs and implements an appropriate filter using Command Line filter design and implementation functions.

Frantz Bouchereau
Frantz Bouchereau 2025년 5월 30일
Minimum order does not mean unit order. Minimum order is the smallest order for which the filter can achieve 60 dB attenuation (or the specified attenuation). Signal Analyzer designs a minimum order lowpass filter using the designfilt function and then filters the data with that filter.
If you want to filter a signal with a specific filter with a pre-defined order you can add a custom function to the app that filters the data using your filter. See this documentation page to learn how to add custom functions to the Signal Analyzer app:
https://www.mathworks.com/help/signal/ug/preprocess-signals.html

카테고리

Help CenterFile Exchange에서 Digital Filter Design에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by