assemblepolystring(​polyCoeffs,varName,​fncName,varargin)

Create a polynomial equation (text string) from polynomial coefficients (vector)
25 Downloads
Updated 3 Oct 2017

View License

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
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Polynomials in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0