2D plote when x axis and y axis intersect at origin

5 views (last 30 days)
% I want to plote this graph when only x axis and y axis cross at origin. I don't need boox type plote.
x = [-1/pi:0.0001:1/pi];
y = (x/2).*(sin(1./x));
plot(x,y)

Answers (1)

Hiro Yoshino
Hiro Yoshino on 15 Dec 2020

Categories

Find more on Line Plots in Help Center and File Exchange

Products


Release

R2014b

Community Treasure Hunt

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

Start Hunting!