Why is my plot not showing anything?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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)
0 commentaires
Réponse acceptée
James Tursa
le 1 Fév 2018
Use element-wise division:
y = ((x+5).^2)./(4+3*x.^2);
2 commentaires
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.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Log Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!