How can I implement the lsqnonlin&lsqcurvefit function to find one parameter of the PDE without knowing the analytical solution?
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello,
I have a nonlinear pde model which is mainly
, and I do have the numerical solutions corresponding to some different time values, but I am not able to get its analytical solution.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/262014/image.png)
I have been trying to use 'the lsqnonlin and lsqcurvefit functions' in Matlab to estimate one of my equation parameters. I have already defined the parameter \lambda and K where are in the above equation, and I would like to estimate the parameter D as setting the lsqcurvefit function. So I know that least square method work as below;
[name]=lsqcurvefit(handle,x0,xdata,ydata);
I have xdata (time points) and ydata (results corresponding to time points) and also x0, which is the initial value, but I could not able to set the function handle part because I do not have the analytical solution. I have a trouble at that point to develop the code.
I will be so glad indeed if someone can help me.
Regards,
Emine
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Boundary Conditions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!