How to fit a function with two or more dependant variables (outputs)?
6 ビュー (過去 30 日間)
古いコメントを表示
I have a complex matlab function that takes x -> (y1,y2) based on several passed parameters. I would like to use curve fitting to find the optimal parameters that fit the function to data. Are there any such tools in MATLAB to accomplish this? nlinfit and the others seem to only want to work with a single independant variable column vector and a single dependant variable column vector (i.e. x -> y).
3 件のコメント
採用された回答
Matt J
2022 年 6 月 2 日
lsqcurvefit does not care about the dimensionality of the independent or dependant variables.
3 件のコメント
その他の回答 (1 件)
参考
カテゴリ
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!