fitting vector valued functions

조회 수: 9 (최근 30일)
Bob
Bob 2013년 1월 14일
I see Matlab has many different ways to fit a scalar valued function (for example
z = f(x,y)
but is there anything that can help me fit a vector valued function
[u, v] = f(x,y)
Note that the coefficients to the fit would be multiplied by a vector, in the equation of f. for example, a term could be a*[x y]
This causes an error in the scalar fitting routines because the coefficient 'a' to be found by fitting can only be multiplied by a scalar.

답변 (3개)

Shashank Prasanna
Shashank Prasanna 2013년 1월 14일
From your questions I appears that you want to perform Multivariate Regression where the response is m dimensional
Y = F(X) where Y belongs to |Rm and x belongs to |Rn You can do this using MVREGRESS:
  댓글 수: 1
Shashank Prasanna
Shashank Prasanna 2013년 1월 14일
Of course this is still linear regression.

댓글을 달려면 로그인하십시오.


Matt J
Matt J 2013년 1월 14일
LSQCURVEFIT can do multi-variate non-linear fitting.
You need the Optimization Toolbox, of course.

Matt J
Matt J 2013년 1월 14일
편집: Matt J 2013년 1월 14일
There are also FEX tools like this, which don't require any toolboxes.
It works best when you have only a few nonlinear parameters, though.

카테고리

Help CenterFile Exchange에서 Get Started with Curve Fitting Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by