psubst.m
Version 1.0.0.0 (612 Bytes) by
J.D. Hol & J.O. Entzinger
substitutes one polynomial in another
869 Downloads
Updated
18 Dec 2001
No License
PSUBST Solve p1 o p2
PSUBST(p1,p2) returns the polynomial coefficients for p1 o p2, i.e. returns p2 subsituted for the variable of p1. The resulting vector is length (LENGTH(p1)-1)*(LENGTH(p2)-1)+1.
For example:
p1=f(y), p2=f(x) ==> PSUBST(p1,p2)=p1(p2(x))
p1=y^2+4y+6, p2=x+1 ==> PSUBST(p1,p2)=x^2+6x+11
J.D. Hol & J.O. Entzinger
Cite As
J.D. Hol & J.O. Entzinger (2026). psubst.m (https://www.mathworks.com/matlabcentral/fileexchange/1161-psubst-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R11
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Elementary Math > Polynomials >
Find more on Polynomials in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
