colPolyFit - Polynomial fitting over multiple columns.

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.

You are now following this Submission

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://in.mathworks.com/matlabcentral/fileexchange/69832-colpolyfit-polynomial-fitting-over-multiple-columns), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0