Hello
I have the frequency response of system A in 1/10 octave data point and I want to achieve a target frequency response by curve fitting / optimizing the parameters of a 2nd order low pass filter. In other words, I need to calculate the parameters of the 2nd order LPF which, when applied to the frequency response of system A, would be closest to the target frequency response I've defined.
I don't want to use software to do this. I actually want to figure out the math and create a C program to implement this function.
Can anyone suggest where I can find information that explains how I do this?
I have the frequency response of system A in 1/10 octave data point and I want to achieve a target frequency response by curve fitting / optimizing the parameters of a 2nd order low pass filter. In other words, I need to calculate the parameters of the 2nd order LPF which, when applied to the frequency response of system A, would be closest to the target frequency response I've defined.
I don't want to use software to do this. I actually want to figure out the math and create a C program to implement this function.
Can anyone suggest where I can find information that explains how I do this?