MATLAB Answers

Testing a digital filter with White Noise

조회 수: 6(최근 30일)
Krishna Ganesan
Krishna Ganesan 2020년 2월 28일
답변: Dimitris Kalogiros 2020년 2월 28일
What is the procedure to test a digital filter? Does passing a white noise through it and visualizing the frequency content output a valid test?
From my trials with two filters, I observed that the frequency content after filtering does resemble the filter shape as such.
Is this a correct way of testing? Any insights on how to test a digital filter would be really helpful.
I do apologize, if this is more of a signal processing question rather than a MATLAB question.


Dimitris Kalogiros
Dimitris Kalogiros 2020년 2월 28일
Hi Krishna
Your test, although primitive, gives a first feeling of how the filter performs.
But I must highlight two points
  • The figures on the right (frequency response of the filter) are expresed in dB. Thus they are not look similar with the figures on the left. In fact, if you transform the signals in dBs, you will get the same shapes
  • Frequency response of the filter is adequate to give all the info a designer needs in order to evaluate a filter.

Community Treasure Hunt

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

Start Hunting!

Translated by