필터 지우기
필터 지우기

non linear curve fitting for kinetic parameters

조회 수: 3 (최근 30일)
Mohammad Heidari
Mohammad Heidari 2018년 7월 16일
댓글: Mohammad Heidari 2018년 7월 23일
My code starts with solving 6 differential equations by initial guess for 8 parameters. In the end, it gives the values for the parameter of interest (mass yield). On the other hand mass yields have been found by experiments. (the code has been written till here) The rest of the code should compare the values found by the model and the values from the experiment. If they were different should change the initial 8 guesses until the difference is acceptable. The function to be used is probably lsqnonlin. It should solve, as lsqcurvefit, nonlinear least-squares problems, but slightly differently. The function to be minimized should probably be specified as a function handle for an external M-file function. My main problem is the coding. As I have never worked with function handles and lsqnonlin. If you can give me a clue on how to implement them, it would be a great help.
  댓글 수: 1
Walter Roberson
Walter Roberson 2018년 7월 22일
Please do not close a question that has an answer.

댓글을 달려면 로그인하십시오.

채택된 답변

Diwakar Ravichandran
Diwakar Ravichandran 2018년 7월 18일
편집: Diwakar Ravichandran 2018년 7월 18일
Hi Mohammad,
I am assuming that you have gone through the documentation for lsqnonlin. If not, then this is the link to the same.
If you have gone through the documentation and still some problem persists, I would appreciate it if you could be a bit more specific as to what and how do you intend to implement your functions.
Hope this helps,
Cheers!
  댓글 수: 1
Mohammad Heidari
Mohammad Heidari 2018년 7월 23일
Hi, Thank you for the great support. I solved my problem using the optimtool/lsqnonlin.
Cheers

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with Curve Fitting Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by