Fit Multi Dimensional Polynomial
% This is example how to fit multi dimensional polynomial
%
% The example fits between CMYK to LAB
% It assume that LAB is a polynomial function of CMYK
% The polynomial is limited by the deg, which is max(sum(n1,n2,n3,n4))
% The polynomial is in the form:
%
% Y=...
% a(1) * (c^0) * (m^0) * (y^0) * (k^0) +...
% a(2) * (c^1) * (m^0) * (y^0) * (k^0) +...
% a(3) * (c^0) * (m^1) * (y^0) * (k^0) +...
% a(4) * (c^0) * (m^0) * (y^1) * (k^0) +...
% a(5) * (c^0) * (m^0) * (y^0) * (k^1) +...
% ...
%
% The example is base on the mathematics in:
% http://mathworld.wolfram.com/LeastSquaresFittingPolynomial.html
Cite As
Yohanan Sivan (2024). Fit Multi Dimensional Polynomial (https://www.mathworks.com/matlabcentral/fileexchange/25350-fit-multi-dimensional-polynomial), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Elementary Math > Polynomials >
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 |