- #1
nemisis42
- 6
- 0
I was wondering if anyone could help me with this, I've been trying to curve fit Young's formula for double slit refraction:
=Io*sinc(alpha)^2*cos(beta)^2
alpha=a*sin(theta)*Pi/wavelength
beta=b*sin(theta)*Pi/wavelength
with a and b as the parameters I'm trying to find. I've been trying to use the Iteration:
[new parameter]=[initial parameter]-u*[J^T*J+d*I]^(-1)*J^T*(f-y)
with J being the Jacobian matrix. I basically followed the pdf:
Non-Linear Least Squares: Levenberg-Marquardt Method
can anyone tell me if this is the correct way to use the Levenberg-Marquardt method, or if that is even the method i should be using? i would appreciate any help on this.
=Io*sinc(alpha)^2*cos(beta)^2
alpha=a*sin(theta)*Pi/wavelength
beta=b*sin(theta)*Pi/wavelength
with a and b as the parameters I'm trying to find. I've been trying to use the Iteration:
[new parameter]=[initial parameter]-u*[J^T*J+d*I]^(-1)*J^T*(f-y)
with J being the Jacobian matrix. I basically followed the pdf:
Non-Linear Least Squares: Levenberg-Marquardt Method
can anyone tell me if this is the correct way to use the Levenberg-Marquardt method, or if that is even the method i should be using? i would appreciate any help on this.