Nonlinear fitting of a numerical solution of a PDE

4 ビュー (過去 30 日間)
matnewbie
matnewbie 2017 年 9 月 18 日
回答済み: Alan Weiss 2017 年 9 月 18 日
I need to perform nonlinear fitting of a numerical solution of a PDE to experimental data, but I can't use the nlinfit function, since it requires an analytical expression, whereas I have a numerical solution of a PDE. What kind of command should I use in this case for parameter estimation through nonlinear fitting?

採用された回答

Alan Weiss
Alan Weiss 2017 年 9 月 18 日
I don't understand what you are asking. I assume that you have a model of a PDE solution, and that your model has a few parameters. nlinfit requires only that your modelfun argument be "...a function handle. modelfun must accept two input arguments, a coefficient vector and an array X—in that order—and return a vector of fitted response values." There is nothing in that description that requires an analytic expression for your nonlinear model function.
Alan Weiss
MATLAB mathematical toolbox documentation

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeBoundary Conditions についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by