- #1
top40
- 5
- 0
I have a nonlinear system of equations and am using the Newton raphson method to solve for them. The method is basically as follows:
J*dx = -F, where J is the jacobian matrix, dx is a vector whose elements are the changes to x, F is a vector whose elements are the function values at x.
To find dx, I find the inverse of J and multiply it by both sides, yielding dx = J^-1 * -F
The only problem is that I keep getting a singular matrix J, so I can't find the inverse. Any suggestions?
J*dx = -F, where J is the jacobian matrix, dx is a vector whose elements are the changes to x, F is a vector whose elements are the function values at x.
To find dx, I find the inverse of J and multiply it by both sides, yielding dx = J^-1 * -F
The only problem is that I keep getting a singular matrix J, so I can't find the inverse. Any suggestions?