How could I plot y=(x-2)/(2x+3)?
古いコメントを表示
So far I've got:
x = [-100 : 1 : 100];
y = (x - 2) / (2*x + 3);
plot(x,y, 'r')
grid on, axis equal
When I run it, it brings up the plot but the graph is missing.
採用された回答
その他の回答 (2 件)
Richard Kadar-Nemeth
2016 年 12 月 3 日
0 投票
1 件のコメント
Star Strider
2016 年 12 月 3 日
My pleasure.
Leaving a space between the dot and the operator will throw an ‘Unexpected MATLAB operator.’ error.
Bhargav k
2020 年 10 月 8 日
0 投票
Plot the graph of y = x^2 − 2x − 3.
カテゴリ
ヘルプ センター および File Exchange で Line Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!