Newton Raphson. How to solve it?
2 views (last 30 days)
Show older comments
Rita Sciuto
on 14 Jan 2021
Answered: Walter Roberson
on 14 Jan 2021
Dear All, I'm trying to solve a problem with the Newton-Raphson method and I'm new in matlab. How can I calculate the Jacobian of my matrix? I mean, does Matlab hs any function to calculate it?
0 Comments
Accepted Answer
Walter Roberson
on 14 Jan 2021
If you are using the symbolic toolbox, then MATLAB has jacobian()
Otherwise, you need to estimate the jacobian, which you can do by calculating the gradient() with respect to each variable. You can do that by iterating through the variables, leaving all the parameters except that one fixed.
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!