Why is my plot not showing anything?
1 view (last 30 days)
Show older comments
Dustin Rigdon
on 1 Feb 2018
Commented: Image Analyst
on 1 Feb 2018
x = -3:0.01:5;
y = ((x+5).^2)/(4+3*x.^2);
plot(x,y)
0 Comments
Accepted Answer
James Tursa
on 1 Feb 2018
Use element-wise division:
y = ((x+5).^2)./(4+3*x.^2);
2 Comments
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.
More Answers (0)
See Also
Categories
Find more on Log Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!