Is no graph???
2 views (last 30 days)
Show older comments
I am new to matlab and I have some question.Why graph not come out.when I run this code
x = [1 : 0.005 : 4*pi]
y =sin(x)/cos(x);
plot(x,y);
But is work when I change y=sin(x)/cos(x) to y=tan(x) thank you for your answers
1 Comment
Answers (2)
See Also
Categories
Find more on Matrix Indexing 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!