solve residue by matlab
古いコメントを表示
plz help me ....
how can I solve this problem by using residue by matlab :
25cos(πz)/((2z+1)^2 (z-2)^2 )
plz help me .. thank u .
回答 (2 件)
Star Strider
2015 年 3 月 24 日
If you have the Symbolic Math Toolbox, use the partfrac funciton:
syms z
f = 25*cos(pi*z)/((2*z+1)^2 * (z-2)^2 );
pf = partfrac(f, z)
produces:
pf =
cos(pi*z)/(z - 2)^2 - (4*cos(pi*z))/(5*(z - 2)) + (8*cos(pi*z))/(5*(2*z + 1)) + (4*cos(pi*z))/(2*z + 1)^2
4 件のコメント
adrian zizo
2015 年 3 月 24 日
Star Strider
2015 年 3 月 24 日
The ‘pf’ expression provides you with the partial fraction evaluated at exactly those values. If you substitute them in for ‘z’ in that expression, you will get an infinite result for each, as expected.
adrian zizo
2015 年 3 月 24 日
Star Strider
2015 年 3 月 24 日
According to the online documentation, partfrac was introduced in R2015a, so you wouldn’t have it in R2010a.
I posted the result as ‘pf’ in my Answer, so you have the result of the partfrac operation without having to have the function in your version.
Konstantinos Sofos
2015 年 3 月 24 日
0 投票
I would suggest to use L'Hôpital's rule but you could use also the following Adaptive numerical limit (and residue) estimation
2 件のコメント
adrian zizo
2015 年 3 月 24 日
Konstantinos Sofos
2015 年 3 月 24 日
編集済み: Konstantinos Sofos
2015 年 3 月 24 日
Have a look in the link that i attached you before...
for your given example
f = @(z) 25*cos(pi*z)./((2*z+1).^2 .* (z-2).^2 )
カテゴリ
ヘルプ センター および File Exchange で Symbolic Math Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!