Plotting graphs in matlab

2 ビュー (過去 30 日間)
Sachi
Sachi 2015 年 1 月 15 日
回答済み: Michael 2015 年 1 月 15 日
The graph obtained by the following is not exactly the graph expected.
>>x=-5:0.01:5; >> h=(2.*x.^2 .*(x.^2 -6.25)./(4.053 .*10.^(-5)) - 2.*x.^2.*(x.*2-25)./(5.89.*10.^(-4)) + (x.^2 -6.25).*(x.^2-25)./(156.25)); >> plot(x,h);
For example, h=1 when x=0 but in the graph, it is not 1. Why is it? Am I missing something?

採用された回答

Michael
Michael 2015 年 1 月 15 日
Your y-axis is 3*10^7. If you zoom you will see that where x=0 there is h=1.

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by