Interpeting results of residue command

17 ビュー (過去 30 日間)
brooke
brooke 2024 年 2 月 20 日
コメント済み: Hassaan 2024 年 2 月 20 日
I am using the residue command to aid in my partial fraction expansion. I am confused about the result for the poles, I have never seen anything like the 1.0e+0.4* before. How do I interpret these results into a new equation?
What I tried: Y=-0.3024i/(s-e-0.4(-1.25+0.6614i)) + 0.3024i/(s-e-0.4(-1.25-0.6614i))
Here are the results:
r =
0.0000 - 0.3024i
0.0000 + 0.3024i
p =
1.0e+04 *
-1.2500 + 0.6614i
-1.2500 - 0.6614i
k =
[]
  1 件のコメント
Dyuman Joshi
Dyuman Joshi 2024 年 2 月 20 日
編集済み: Dyuman Joshi 2024 年 2 月 20 日
"I am confused about the result for the poles ..."
Refer to the documentation of the function and see what the outputs correspond to.
"... I have never seen anything like the 1.0e+0.4* before. "
That is the scientific notation.
"How do I interpret these results into a new equation?"
I am not sure if I understand what you mean here.

サインインしてコメントする。

採用された回答

Hassaan
Hassaan 2024 年 2 月 20 日
編集済み: Hassaan 2024 年 2 月 20 日
@brooke The residue command in MATLAB is used to perform partial fraction expansion of a rational function, which is typically represented as the ratio of two polynomials. The output of residue consists of three elements: the residues (r), the poles (p), and direct terms (k). Here's how to interpret the results:
  • Residues (r): These are the coefficients of the terms in the partial fraction expansion.
  • Poles (p): These are the values of s that make the denominator of the original rational function zero.
  • Direct Terms (k): These are the coefficients of any terms that are not part of the partial fraction decomposition (usually when the numerator degree is greater than or equal to the denominator).
In your results, the 1.0e+04 is MATLAB's way of formatting numbers using scientific notation. It's saying that the poles are actually -1.2500 * 1.0e+04 + 0.6614i * 1.0e+04 and -1.2500 * 1.0e+04 - 0.6614i * 1.0e+04. This notation is used to represent large or small numbers compactly.
So your poles are actually:
p1=12500+6614i
p2=125006614i
And the residues corresponding to these poles are:
r1=0.00000.3024i
r2=0.0000+0.3024i
Therefore, your partial fraction expansion of Y would be:
Y = (0.0000-0.3024i/s-(-12500+6614i)) + (0.0000+0.3024i/s-(-12500-6614i)​)
When you simplify this, remember that s will be your variable (usually representing complex frequency in Laplace transforms), and you can then use these expressions to further work on inverse Laplace transforms or other analyses.
Reference [Documentation]
-----------------------------------------------------------------------------------------------------------------------------------------------------
If you find the solution helpful and it resolves your issue, it would be greatly appreciated if you could accept the answer. Also, leaving an upvote and a comment are also wonderful ways to provide feedback.
It's important to note that the advice and code are based on limited information and meant for educational purposes. Users should verify and adapt the code to their specific needs, ensuring compatibility and adherence to ethical standards.
Professional Interests
  • Technical Services and Consulting
  • Embedded Systems | Firmware Developement | Simulations
  • Electrical and Electronics Engineering
Feel free to contact me.
  2 件のコメント
brooke
brooke 2024 年 2 月 20 日
Thank you very much I understand now!
Hassaan
Hassaan 2024 年 2 月 20 日
@brooke You are welcome.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by