Least square curve fit with out differentiation(Gramdeterminant method)
Curdat.m is a data file. You can change to get your
need.
Polycurve.m is polynomial basis file.
Graf.m is the user’s basis file. You can change to
match your choice.
Curfit.m Gives the polynomial curve and the graph.
Gramplot.m gives the curve for selected basis.
Example ;
Gramplot() gives the result. Deviations and
locations are included.
Curfit(4) gives the result.
Least square curve fit is the principle. In the formulation,
differentiation is avoided. Instead,an inner-product is
designed and Gram-matrix is created. The curve F is
F = ∑ ai fi ; i = 1..n
ai are the parameters
fi are the basis functions
Cite As
Mathan Chandran (2023). Least square curve fit with out differentiation(Gramdeterminant method) (https://www.mathworks.com/matlabcentral/fileexchange/26085-least-square-curve-fit-with-out-differentiation-gramdeterminant-method), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Interpolation >
- AI, Data Science, and Statistics > Curve Fitting Toolbox > Linear and Nonlinear Regression >
- Mathematics and Optimization > Optimization Toolbox > Least Squares >
- Mathematics and Optimization > Symbolic Math Toolbox > Mathematics > Calculus >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |