Why is my plot not showing anything?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Dustin Rigdon
il 1 Feb 2018
Commentato: Image Analyst
il 1 Feb 2018
x = -3:0.01:5;
y = ((x+5).^2)/(4+3*x.^2);
plot(x,y)
0 Commenti
Risposta accettata
James Tursa
il 1 Feb 2018
Use element-wise division:
y = ((x+5).^2)./(4+3*x.^2);
2 Commenti
Image Analyst
il 1 Feb 2018
Dustin, you can also thank him by Accepting his answer, and voting for it, to give him reputation points.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Log Plots in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!