how can i plot a graph for y vs x, for this function y = 6x^3 - 37x^2 + 37x - 10 ? can you give me commands?

回答 (2 件)

Star Strider
Star Strider 2021 年 5 月 14 日

0 投票

One approach —
syms x
y = 6*x^3 - 37*x^2 + 37*x - 10
y = 
figure
fplot(y)
grid
.
DGM
DGM 2021 年 5 月 14 日

0 投票

This is some of the most rudimentary stuff with the most abundant supply of examples around. Consider another example:
x = linspace(10,11,5);
y = 6*x.^2 + 37*x;
plot(x,y); grid on
You'll have to adjust it to suit your needs

カテゴリ

ヘルプ センター および File ExchangeMathematics についてさらに検索

質問済み:

2021 年 5 月 14 日

回答済み:

DGM
2021 年 5 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by