Newton Raphson. How to solve it?

4 views (last 30 days)
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?

Accepted Answer

Walter Roberson
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.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!