Two Input Variables Linear and Parabolic Regression

MATLAB(R) script to perform linear and parabolic regression with an input variables feature and return the plot comparison of the result.
36 Downloads
Updated 24 Feb 2022

View License

This script require user to input the data of x and y (with an equal dimension) and return the output:
  • Slope, Intercept, and Inflection Point (Parabolic)
  • Mathematical Expression
  • Estimated Y (on X)
  • Standard Error of Estimation
  • Correlation Coefficient
as well as its plot comparison.
Based On:
Chapra, S. C., & Canale, R. P. (2006). Numerical methods for engineers. Boston: McGraw-Hill Higher Education. 455-473.

Cite As

Muhammad Usman Alshaadiq (2026). Two Input Variables Linear and Parabolic Regression (https://www.mathworks.com/matlabcentral/fileexchange/107240-two-input-variables-linear-and-parabolic-regression), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2021b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0