- #1
- 1,775
- 27
Suppose I have some experimental data on the diffusion of some concentrate into a cylindrical medium. I don't a priori know the initial concentration or diffusion constant. I have some code to solve the PDE given in the cylindrical domain which solves the equation for given initial concentration and diffusion constant.
My initial thoughts was to do a parameter sweep and then once I have a matrix for this, so a least squares on the data and the numerical solution and do fminsearch on the resulting matrix.
I know that this is an incredibly inefficient method. I wondered if there was a clever way.
My initial thoughts was to do a parameter sweep and then once I have a matrix for this, so a least squares on the data and the numerical solution and do fminsearch on the resulting matrix.
I know that this is an incredibly inefficient method. I wondered if there was a clever way.