Polynomial-to-Pade coefficient conversion

版本 1.0.2 (3.2 KB) 作者: Kenneth Johnson
poly2pade converts polynomial coefficients to a Pade approximant's numerator and denominator coefficients.
3.0 次下载
更新时间 2024/9/28

查看许可证

[a,b] = poly2pade(c,N);
Given series coefficents c(1:M+N+1), find coefficients a(1:M+1) and b(1:N+1) to fit the rational approximation
(a(1)+a(2)*x+...+a(M+1)*x^M)/(b(1)+b(2)*x+...+b(N+1)*x^N) = c(1)+c(2)*x+...+c(M+N+1)*x^(M+N)+Ox^(M+N+1)
This replaces padecoef.m: https://www.mathworks.com/matlabcentral/fileexchange/114835-pade-coefficients The function name is changed to avoid conflict with https://www.mathworks.com/help/matlab/ref/padecoef.html Also, the implementation has been revised to use SVD to handle ill-conditioned problems.

引用格式

Kenneth Johnson (2024). Polynomial-to-Pade coefficient conversion (https://www.mathworks.com/matlabcentral/fileexchange/170746-polynomial-to-pade-coefficient-conversion), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2024a
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签
致谢

参考作品: Padé coefficients

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.2

bug fix in err calculation

1.0.1

Enable parallel calculations. Apply auto-scaling. Optionally return fit error.

1.0.0