Azzera filtri
Azzera filtri

Why is my plot not showing anything?

1 visualizzazione (ultimi 30 giorni)
x = -3:0.01:5;
y = ((x+5).^2)/(4+3*x.^2);
plot(x,y)

Risposta accettata

James Tursa
James Tursa il 1 Feb 2018
Use element-wise division:
y = ((x+5).^2)./(4+3*x.^2);
  2 Commenti
Image Analyst
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.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Log Plots in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by