Fit Multi Dimensional Polynomial

The example fits between CMYK to LAB. It assume that LAB is a polynomial function of CMYK.
1.1K Downloads
Updated 17 Sep 2009

View License

% 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
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Polynomials in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0