MATLAB Answers

Newton Raphson. How to solve it?

12 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?

  0 Comments

Sign in to comment.

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.

  0 Comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by