assemblepolystring(polyCoeffs,varName,fncName,varargin)
Function creates a text string, being the equation of a polynomial, with coefficients listed in order of decreasing power in the vector 'polyCoeffs' (Vector, as returned from MATLAB function 'polyfit' and used by 'polyval').
It allows the user to select names of the free and dependent variables. It is also possible to append a unit string (i.e. "m") to the very end of the string.
Cite As
Andreas Berg (2025). assemblepolystring(polyCoeffs,varName,fncName,varargin) (https://www.mathworks.com/matlabcentral/fileexchange/64616-assemblepolystring-polycoeffs-varname-fncname-varargin), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Elementary Math > Polynomials >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
