How to define a multivariable function (for instance an anonymous function) of a number of variables that varies according to the size of an array variable?
3 次查看(过去 30 天)
显示 更早的评论
I have two vectors input and output ,where S is the number of samples
I want to solve this problem as nonlinear least-squares (nonlinear data-fitting), so I have to define my anonymous function as follow
,where L is the number of coefficients and X is the regression matrix of x
How to define vector of coefficients ?!
2 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Systems of Nonlinear Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!