FFT? Digital Filter? Problem Exactly Defined

Click For Summary
SUMMARY

The discussion focuses on applying a lowpass Butterworth filter to a measured signal in C or C++. The user, Jens, seeks guidance on calculating filter coefficients and finding a suitable C/C++ library for implementation. Jens discovered a helpful resource at a specific URL that provides insights into filter design, which resolved his query. The conversation highlights the importance of understanding filter coefficients and the need for accessible libraries in signal processing.

PREREQUISITES
  • Understanding of Butterworth filter design and characteristics
  • Familiarity with digital signal processing concepts
  • Proficiency in C or C++ programming languages
  • Knowledge of numerical data handling in programming
NEXT STEPS
  • Research Butterworth filter coefficient calculation methods
  • Explore C/C++ libraries for digital signal processing, such as FFTW or Eigen
  • Learn about numerical methods for signal smoothing
  • Investigate the implementation of lowpass filters in C/C++
USEFUL FOR

This discussion is beneficial for signal processing engineers, C/C++ developers, and anyone involved in digital filter design and implementation.

jensel
Messages
22
Reaction score
0
Hello,

Please help me with the following problem.

Given a measured signal which has to be smoothed. A lowpass filter has to be applied. The signal is available as measured data (a data file on the hard disk, numerical, not real-time) ( it has to be applied in C or C++). The filter frequency where "the cut-off" should apply is well-known. It is a real signal and has constant delta t.
I have no serious background in frequency data analysis so I will order my questions in a way of most urgency (sorry if one of the points is "easy to see" or wrong):

- if the signal is given as a series f(n), the converted signal is (depending from the order of the filter)
f_filtered(n)=f(n-k)*a_(-k)+f(n-k+1)*a_(-k+1)+...+f(n)*a_0+...+f(n+k)*a_(k+1)
under the condition that we have a kernel in the integration which is, let us say Butterworth (as far I understand the problem).
If this is right, how are the coefficients calculated? (for example with Matlab or in a different way)
- which free C/C++ library can be included to be more flexible to exactly solve this problem (it is not needed to be the universal library with all sorts of filtering - easy to use is priority)

Thanks a lot for helping me with this issue.


Jens
 
Physics news on Phys.org
Hi,

Problem seems to be solved. I found this brilliant website (rest in peace Tony, you genius, you helped me a lot!):
http://www-users.cs.york.ac.uk/~fisher/mkfilter/

So great...


Jens
 

Similar threads

Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
5K
  • · Replies 12 ·
Replies
12
Views
4K
Replies
20
Views
7K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K