New answers tagged


Approach is Good and it is working


You can't design a filter that creates a phase shift that's constant with frequency for real valued input (if that's what you are trying to do). A Hilbert transformer appears to be doing this. However, the problem is, you can't implement a perfect Hilbert transformer since it's non causal with an infinite length impulse response. The tricky part is that ...


I did use Differential Evolution to calculate the coefficients. But you can re-design the filter pair easily using the HIIR library by Laurent de Soras (its source code will automatically unzip to a subdirectory hiir). You can use this C++ HilbertDesign.cpp source and compile with g++ using the compile-command quoted on the first line: // -*- compile-...

Top 50 recent answers are included