I have a parametric function as below:
cr = xxx;
ci = xxx;
pr = xxx;
pi = xxx;
d = xxx;
H = (cr+I ci)/(s-(pr+I pi)) + (cr-I ci)/(s-(pr-I pi)) + d;
As can be seen the numerator and denominator are in complex conjugate form. Now I have two list for poles and residues like below:
poles: -1.95307e+09 + -7.78828e+09j, -1.95307e+09 + 7.78828e+09j, -2.68057e+08 + -5.9168e+09j, -2.68057e+08 + 5.9168e+09j, ....
residues: 1.88115e+07 + -4.32942e+07j, 1.88115e+07 + 4.32942e+07j, -251105 + 3.24774e+06j, -251105 + -3.24774e+06j, 2.95035e+06 + -2.80015e+06j, ...
d = 1.1
every two nearby elements in poles or residues are in complex conjugate form.
I have to use the first two elements in the poles and the first two elements in residues list to make the first function. Then I have to use the next two pairs in my poles and residue lists to make the second function and so on.
I want to have my function for each pole and residue pairs and then do some calculations for each function, like calculating the zeros of each function. Thanks for any help