How can I implement the lsqnonlin&lsqcurvefit function to find one parameter of the PDE without knowing the analytical solution?
2 次查看(过去 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.
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!