I cannot get correct roots from this code of newton raphson method

2 ビュー (過去 30 日間)
Jalal Hassan
Jalal Hassan 2020 年 2 月 9 日
コメント済み: Geoff Hayes 2020 年 2 月 14 日
Maybe it is due to not getting a correct derivative of polynomial. Moreover, I cannot convert string to symbolic expression. I get error even if I use sym or str2sym. Also, I want to plot graph of given input expression.
I have been using Matlab R2018a.
  1 件のコメント
Geoff Hayes
Geoff Hayes 2020 年 2 月 14 日
Jalal - you may want to post the inputs that you are passing into this function. For example, what is your string that represents the objective function? Also, if you are getting an error, please copy and paste the full error to this question.

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

回答 (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