x, yの実験データに対し、x,yを両辺に複数もつ複雑な理論式(x,yを変数とし、未知の係数を含む関数)によってフィッティングする方法を教えてください。
15 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
例えば、x, yのデータに対し、(ay/x) = {(1-aby/x)^b}/{1-aby/x+ayx)}^(b-1)
という関数でフィッティングして、適切なパラメーターa, bを求めるには、どのようにすればよいか教えていただけないでしょうか?
0 commentaires
Réponses (1)
Akira Agata
le 14 Sep 2022
いくつかやり方がありますが、たとえば (x, y) の全データに対する左辺と右辺の差の二乗和を「 (a, b) を入力変数とする関数」として定義して、fminsearch で (a, b) の最適値を求めるというのはいかがでしょうか?
0 commentaires
Voir également
Catégories
En savoir plus sur 内挿 dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!