You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
[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.
Cite As
Kenneth Johnson (2026). Polynomial-to-Pade coefficient conversion (https://www.mathworks.com/matlabcentral/fileexchange/170746-polynomial-to-pade-coefficient-conversion), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: Padé coefficients
General Information
- Version 1.1.2 (4.39 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.1.2 | bug fix in parameter scaling (do_scale branch) |
||
| 1.1.1 | Bug fix (uninitialized sqrt_). |
||
| 1.1.0 | More robust algorithms and code for coefficient scaling and denominator degree reduction. |
||
| 1.0.3 | Fixed handling of ill-conditioned matrix. |
||
| 1.0.2 | bug fix in err calculation |
||
| 1.0.1 | Enable parallel calculations. Apply auto-scaling. Optionally return fit error. |
||
| 1.0.0 |
