How can i solve an equation in matlab using Newton-Raphson method?

3 ビュー (過去 30 日間)
zayed
zayed 2011 年 11 月 28 日
I want to solve monotonically increasing function g(lambda)and has a unique zero,by Newton-Raphson method in matlab.The equation is : g(lambda)= -zm'*inv(M)*inv(inv(M)+lambda.*Q)*Q*inv(inv(M)+lambda.*Q)*inv(M)*zm; the variable is lambda

採用された回答

Walter Roberson
Walter Roberson 2011 年 11 月 28 日
A specific Newton-Raphson routine is not provided in MATLAB (at least not that I have seen.) You can find MATLAB coding for it in a number of places.
I have to ask, though, whether any efficiency gains you might hypothetically gain using this instead of using fzero() will be worth the time you spend programming and debugging this? (I am not convinced that NR would be any faster than fzero()'s adaptive method, but that is a different point.) Has using NR been imposed on you? Or did fzero() fail?
  8 件のコメント
zayed
zayed 2011 年 11 月 28 日
which thread,please
Walter Roberson
Walter Roberson 2011 年 11 月 28 日
As cited above, http://www.mathworks.com/matlabcentral/answers/22336-code-assistance

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeNewton-Raphson Method についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by