Effacer les filtres
Effacer les filtres

Why is my plot not showing anything?

1 vue (au cours des 30 derniers jours)
Dustin Rigdon
Dustin Rigdon le 1 Fév 2018
Commenté : Image Analyst le 1 Fév 2018
x = -3:0.01:5;
y = ((x+5).^2)/(4+3*x.^2);
plot(x,y)

Réponse acceptée

James Tursa
James Tursa le 1 Fév 2018
Use element-wise division:
y = ((x+5).^2)./(4+3*x.^2);
  2 commentaires
Dustin Rigdon
Dustin Rigdon le 1 Fév 2018
Thanks!
Image Analyst
Image Analyst le 1 Fév 2018
Dustin, you can also thank him by Accepting his answer, and voting for it, to give him reputation points.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Log Plots dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by