Filter löschen
Filter löschen

Why is my plot not showing anything?

1 Ansicht (letzte 30 Tage)
Dustin Rigdon
Dustin Rigdon am 1 Feb. 2018
Kommentiert: Image Analyst am 1 Feb. 2018
x = -3:0.01:5;
y = ((x+5).^2)/(4+3*x.^2);
plot(x,y)

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Log Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by