Showing points in 2D map.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Nava Subedi
am 15 Okt. 2018
Bearbeitet: Nava Subedi
am 18 Okt. 2018
How to plot these four points in 2D.
T1 = [0.000, 0.000]; T2 = [67.624, -0.232]; T3 = [66.966, -67.904]; T4 = [-0.494, -67.230];
If these points are in the circumference of a circle, how to find the center and how to move center into (0, 0)?
0 Kommentare
Akzeptierte Antwort
Star Strider
am 18 Okt. 2018
Finding the centre and radius is trivial:
T0 = [T1; T2; T3; T4];
C = mean(T0); % Circle Centre
R = mean(hypot(T0(:,1)-C(1), T0(:,2)-C(2))); % Circle Radius
I leave the rest to you.
1 Kommentar
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!