Two Input Variables Linear and Parabolic Regression
Version 1.0.0 (2.29 KB) by
Muhammad Usman Alshaadiq
MATLAB(R) script to perform linear and parabolic regression with an input variables feature and return the plot comparison of the result.
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 LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
