Partial Fraction Expansion Issue/Question - confusing result

Hi all,
I tried to find the partial fraction expansion of a transfer function, and was given a confusing result. matlab2.PNG
This screenshot is my result. I'm confused by the last line in the p matrix. How can I have a number in the numerator (last line of r), but have 0+0i in the denominator? Is there a mistake in my original denominator a and numerator b?
Matlab1.PNG
This screenshot above is my numerator, denominator, and residue function.

 채택된 답변

Star Strider
Star Strider 2019년 6월 9일

0 개 추천

It just appears to be confusing.
The Symbolic Math Toolbox partfrac function gives:
or with the fractions rationalised:
So perhaps that will help to explain it.

댓글 수: 2

Right - duh! Guess my lack of sleep is getting to me. Thanks so much for clearing that up!
As always, my pleasure!
(Been there...)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

질문:

2019년 6월 9일

댓글:

2019년 6월 9일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by