Clear Filters
Clear Filters

Why is my plot not showing anything?

1 view (last 30 days)
x = -3:0.01:5;
y = ((x+5).^2)/(4+3*x.^2);
plot(x,y)

Accepted Answer

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

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!