how to code newton-raphson method for solving nonlinear equation with two variables
显示 更早的评论

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 个评论
madhan ravi
2020-4-27
Uploading code is better than a screenshot.
回答(1 个)
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)
类别
在 帮助中心 和 File Exchange 中查找有关 Newton-Raphson Method 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!