Code covered by the BSD License  

Highlights from
Fit Multi Dimensional Polynomial

Be the first to rate this file! 5 Downloads (last 30 days) File Size: 19.64 KB File ID: #25350

Fit Multi Dimensional Polynomial

by Yohanan Sivan

 

17 Sep 2009

The example fits between CMYK to LAB. It assume that LAB is a polynomial function of CMYK.

| Watch this File

File Information
Description

% 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

MATLAB release MATLAB 7.8 (R2009a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
fit multi dimensional polynomial Yohanan Sivan 17 Sep 2009 11:59:51

Contact us at files@mathworks.com