Help me with Graph plot
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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?
0 comentarios
Respuestas (2)
Star Strider
el 14 de Mayo de 2021
One approach —
syms x
y = 6*x^3 - 37*x^2 + 37*x - 10
figure
fplot(y)
grid
.
0 comentarios
DGM
el 14 de Mayo de 2021
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
0 comentarios
Ver también
Categorías
Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!