Plotting a polynomial that has fractions

17 ビュー (過去 30 日間)
Tareq
Tareq 2012 年 8 月 7 日
Please help me plotting this polynomial. how much should the range be , it seems matlab is not able to solve it
here is the function: = (1 / x ) [2.125 x^4 – 5.25 x ^ 3 + 12.5 x ^ 2 + 200 x + 100]

採用された回答

Sean
Sean 2012 年 8 月 7 日
編集済み: Sean 2012 年 8 月 7 日
This question doesn't clearly define your problem, so I or others will have a hard time answering you definitively.
  1. If you are trying to plot an equation, you need to define for yourself what the plotted region of interest should be. This is independent of whatever medium you use (whether software or just pen and paper).
  2. The equation you show doesn't follow matlab syntax. If I assume that you are multiplying (1/x) by the bracketed term, you should specify it as something like:
x=-100:0.1:100; %Defining the interval of interest
y=(2.125*x.^4-5.25*x.^3+12.5*x.^2+200*x+100)./x;
plot(x,y)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePolynomials についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by