Its been years since I solved PF. Now I am having hard time solving this partial fraction
$$ F = \frac{1}{\left( x^2+1\right)^2} $$
I proceeded with(Is this right ?)
$$ \frac{1}{\left( x^2+1\right)^2} = \frac{A}{\left( x+\iota\right)} + \frac{B}{\left( x+\iota\right)^2} + \frac{C}{\left( x-\iota\right)} + \frac{D}{\left( x-\iota\right)^2}$$
I don't get the solution that MATLAB gives:
>> [A,B,C] = residue([1],[1,0,2,0,1])
A =
-0.0000 - 0.2500i
-0.2500
-0.0000 + 0.2500i
-0.2500
B =
-0.0000 + 1.0000i
-0.0000 + 1.0000i
-0.0000 - 1.0000i
-0.0000 - 1.0000i
C =
[]
Kindly help me solve this PF. Thanks in advance!