drawing a point in the graph

3 views (last 30 days)
Mst Ismita Tasnim
Mst Ismita Tasnim on 6 Dec 2022

Answers (2)

Arif Hoq
Arif Hoq on 6 Dec 2022
Edited: Arif Hoq on 6 Dec 2022
x = 1:5;
y = 20:24;
plot(x,y,x(3),y(3),'*') % specify a marker symbol * in index 3 of y
please follow this for more information about plot
  3 Comments

Sign in to comment.


Walter Roberson
Walter Roberson on 6 Dec 2022
x = 0:0.5:10;
t = (x/2).^2;
abs(x-2*sqrt(t)) %cross-check weether x == 2*sqrt(t)
ans = 1×21
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
plot(x, t, '*-')
  5 Comments

Sign in to comment.

Categories

Find more on Change Markers in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!