How could I plot y=(x-2)/(2x+3)?
Mostrar comentarios más antiguos
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.
Respuesta aceptada
Más respuestas (2)
Richard Kadar-Nemeth
el 3 de Dic. de 2016
0 votos
1 comentario
Star Strider
el 3 de Dic. de 2016
My pleasure.
Leaving a space between the dot and the operator will throw an ‘Unexpected MATLAB operator.’ error.
Bhargav k
el 8 de Oct. de 2020
0 votos
Plot the graph of y = x^2 − 2x − 3.
Categorías
Más información sobre Mathematics en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!