Effacer les filtres
Effacer les filtres

How can i extract coordinates of point from matlab figure ?

2 vues (au cours des 30 derniers jours)
Ideth Kara
Ideth Kara le 19 Août 2022
Commenté : Ideth Kara le 19 Août 2022
Hello everyone !
i have this code , i want to extract the coordinates of all points constructing the curve.
Xu=linspace(0,60,60);
Yu=linspace(0,10,60);
xlabel('temps(min)')
ylabel('X(km)')
figure()
plot(Xu,Yu)

Réponse acceptée

Image Analyst
Image Analyst le 19 Août 2022
Yc = interp1(X, Y, Xc);

Plus de réponses (1)

Matt J
Matt J le 19 Août 2022
You already have the point data from your code: Xu,Yu.

Catégories

En savoir plus sur Graphics Object Identification dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by