Writing vectors for exponetial equation
1 次查看(过去 30 天)
显示 更早的评论
Hi, I' trying to fit my data that include 4 vectors in to this equation by using division function. However I don't know how to write D matrix. Here is my Equation.
F = a0 + a1*Em + a2*Ei*exp(a3*VF)
D = ?
U = D \ F
0 个评论
采纳的回答
Star Strider
2018-5-15
Your model is nonlinear, not linear, so you cannot use the mldivide,\ function or operator with it. (It is nonlinear because the partial derivative with respect to the ‘a3’ parameter is a function of itself, and also ‘a2’.) You will have to use a nonlinear parameter estimation function, such as nlinfit, lsqcurvefit, or fminsearch.
4 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Least Squares 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!