image thumbnail

matrix row-wise polynomial fit

version 1.0.0 (1.75 KB) by Szu-Yu Lee
Performs row-wise polynomial regression fitting of a 2D matrix. The function utilizes matrix operations instead of looping through each row.

12 Downloads

Updated 08 Apr 2021

View License

This function performs row-wise polynomial regression fitting of a 2D matrix. Each row is a polynomial regression problem. The function utilizes matrix operations instead of looping through each matrix row, so can work on a matrix with large number of rows. Other matrices of different dimensions, as long as the regression problem is along only one dimension, can be reshaped into a 2D matrix, where regression problems are placed along the 2nd dimension, and use this function to solve the problem.

Cite As

Szu-Yu Lee (2021). matrix row-wise polynomial fit (https://www.mathworks.com/matlabcentral/fileexchange/90017-matrix-row-wise-polynomial-fit), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2021a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!