Get from Ico-github-logo

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Multivariate Polynomial Regression

  • MultiPolyRegress(Data,R,P...
    Multi-variable polynomial regression analysis. A by-product of ongoing computational
  • Example.m
    Example For MultiPolyRegress
  • View all files
5.0 | 11 ratings Rate this file 101 Downloads (last 30 days) File Size: 107 KB File ID: #34918 Version: 1.4
image thumbnail

Multivariate Polynomial Regression


Ahmet Cecen (view profile)


04 Feb 2012 (Updated )

Performs polynomial regression on multidimensional data.

| Watch this File

File Information

Performs Multivariate Polynomial Regression on multidimensional data. The fits are limited to standard polynomial bases with minor modification options. Feel free to implement a term reduction heuristic.
The functionality is explained in hopefully sufficient detail within the m.file. Feel free to post a comment or inquiry.
No longer requires ANY additional toolboxes!
Head over to or the GitHub page on the right for a full illustrated tutorial. You can also publish Example.m for the same purpose.
Author: Ahmet Cecen, MINED @ Gatech

Required Products MATLAB
MATLAB release MATLAB 8.4 (R2014b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (22)
17 Feb 2017 Muhammad Ansab Ali

17 Feb 2017 OSCAR VITERI

06 Sep 2016 Ahmet Cecen

Ahmet Cecen (view profile)

An oversight. Will fix it when I get a chance.

Comment only
06 Sep 2016 Christian Schröppel

To suppress output that may not be required, please add a semicolon to the expression in line 173.
eval(['PolyExp = ',variablesexp,Poly,';']);

Comment only
30 Aug 2016 Habib Yajam

Fast and easy to use. MATLAB lacks such a function in its original releases.

Comment only
30 Aug 2016 Habib Yajam

Fast and easy to use. MATLAB lacks such a function in its stock releases.

24 Aug 2016 Andra St. Quintin

Easy to use.

20 Jul 2016 Ahmet Cecen

Ahmet Cecen (view profile)

If you send me an e-mail I can reply back to it with the zip file. My contact info is everywhere just Google my name, or go to my account.

Comment only
20 Jul 2016 Ahmet Cecen

Ahmet Cecen (view profile)

I was able to download it just this second. I'll send it anyways if you have contact information on your account.

Comment only
20 Jul 2016 Aurélien Durel

The file is no longer available.
Can someone send it to me please ?

Comment only
12 May 2016 easumj

easumj (view profile)

Excellent code, I have been looking for multivariate polynomial regression tools for quite some time.

06 May 2016 Silpakorn D

29 Feb 2016 Xinyi Gong

24 Feb 2016 Ahmet Cecen

Ahmet Cecen (view profile)

If you send me (it's very easy to find my contact information online, including my profile here) the data and parameters to replicate your situation, I can look into it. Otherwise very hard for me to search for a random bug.

Comment only
24 Feb 2016 Rita

Rita (view profile)

Hi Thanks for the function.I have tried your function with my seven independent and one dependent variable and R-squared is 0.19 which is not high.How can I get higher R-squared ?I also got error when I used 'range'.Any suggestion would be appreciated in advance.

Comment only
20 Jul 2015 Karel Macek

13 Jun 2015 Sagar

Sagar (view profile)

Hi, I tried to use the function but I have a lot of NaNs in my data. It looks like it cannot handle data with NaNs. Could you please update to include NaNs?

Comment only
09 May 2015 Ahmet Cecen

Ahmet Cecen (view profile)


Comment only
20 Apr 2015 Morgan

Morgan (view profile)

04 Dec 2014 Yuksel Yabansu

03 Dec 2014 Mahdi Roozbahani

25 Jul 2014 Ahmet Cecen

Ahmet Cecen (view profile)

Added examples upon request.

Comment only
06 Aug 2014 1.1

Substantially more detailed explanations. Almost completely revamped output. Stronger goodness of fit measures.

27 Oct 2014 1.2

Can now handle rank deficient data matrices.

23 Jun 2015 1.3

Updated description to include a link to the documentation.

18 Aug 2015 1.3

Repository renamed.

16 Feb 2017 1.4

Removed toolbox dependencies completely.

Contact us