how to code newton-raphson method for solving nonlinear equation with two variables

10 ビュー (過去 30 日間)
hyeonsu kwon
hyeonsu kwon 2020 年 4 月 27 日
回答済み: Ameer Hamza 2020 年 4 月 27 日
when i run this code it's not working. but i don't know what's wrong.
Not enough input arguments.
Error in jfreact (line 3)
x=x(1); %define values

回答 (1 件)

Ameer Hamza
Ameer Hamza 2020 年 4 月 27 日
This error will occur if you run jfreact() without any input arguments. You need to run it with input vector x. For example,
x = [1 2];
jfreact(x)

カテゴリ

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