Plot roots of non-linear equation

1 回表示 (過去 30 日間)
Fatih Ay
Fatih Ay 2020 年 4 月 5 日
コメント済み: Fatih Ay 2020 年 4 月 5 日
How can I show (in the graph) the roots of non-linear equation below,

回答 (1 件)

Image Analyst
Image Analyst 2020 年 4 月 5 日
編集済み: Image Analyst 2020 年 4 月 5 日
Did you try the plot() function?
x = linspace(-30, 40, 1000);
fx = (x .^ 2 ./ (x+1)) .^ 0.3333333;
plot(x, fx, 'b-', 'LineWidth', 2);
grid on;
xlabel('x', 'FontSize', 15);
ylabel('fx', 'FontSize', 15);
As you can see it hits 0 only at 0 and like Star says, there are other complex roots.
  1 件のコメント
Fatih Ay
Fatih Ay 2020 年 4 月 5 日
Thank you very much, that is what I want. I appreciate you very much.

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

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by