How can I decompose an expression into partial fractions with user-specified denominators? For example, if I have the symbolic formula below:
G = w^2/(x*(x^2+2*k*w*x+w^2))
Is there any MATLAB function I can use to calculate the symbolic partial fractions below:
G = A/x + B/(x+k*w+i*sqrt(1-k^2)*w) + C/(x+k*w-i*sqrt(1-k^2)*w)
So I can solve and get the coefficients, A, B and C?
Best Answer