colPolyFit - Polynomial fitting over multiple columns.
Version 1.0.0 (2.04 KB) by
Tan Nguyen
Polyfit each column of a matrix Y as a function of an input vector X and return 1 column vector of coefficients into a matrix P.
This is an extended version of Matlab polyfit where Y can be a matrix. It avoids having to use a for loop to perform multiple times of polyfit. It has been tested to produce consistent results compared to Matlab's polyfit.
Please report bugs to thnguyn@mit.edu or huutan86@gmail.com
Thanks for using,
Cite As
Tan Nguyen (2026). colPolyFit - Polynomial fitting over multiple columns. (https://uk.mathworks.com/matlabcentral/fileexchange/69832-colpolyfit-polynomial-fitting-over-multiple-columns), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2018b
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 |
