Design a digital filter using FDA tool (MATLAB function) for Delphi Programming

Digital filter is an important part of the digital signal processing. In order to design a digital filter, we need to calculate the filter coefficients. One of many tools that we can use to calculate the filter coefficients is by using the MATLAB function; ie FDAtool. Here step by step to calculate the filter coefficient and how to implement it to the Delph programming.

  1. Type fdatool in the command window of MATLAB
  2. Follows the response type, design method, filter order and specifications
  3. Click on the design filter button to generate the filter coefficients, and the filter coefficients are shown as follows:
  4. To convert four section of block filter to one section, you can use function Convert to Single Section on Edit menu.
  5. Here the example of the filter coefficients of one section
  6. Export the coefficients to the MATLAB cell so that we can easily copy and paste on main menu File.
  7. Click on the MATLAB cell on den and num variable to copy and paste
  8. Put the coefficients in the Delphi programming to develop the digital filter
  9. Here the example of digital filter implementation using IIR filter
  10. Here the result of the original and filtered signal
  11. Artificial sinus generator

Leave a Reply

Your email address will not be published. Required fields are marked *