how can I plot some of 3D points (x,y,z) on a surface of a sphere
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
hayder fadhil
am 13 Jul. 2022
Kommentiert: hayder fadhil
am 13 Jul. 2022
how can i plot these 3d points (x,y,z) ?
( 1,0,0)
(-1, 0,0)
( 0,0,1)
(0 ,0,-1)
(0.707, 0.707,0)
(0.707, -0.707, 0)
(-0.707, -0.707, 0)
(-0.707, 0.707, 0)
(0.707, 0, 0.707)
(0.707, 0 , -0.707)
( -0.707, 0, 0.707)
( -0.707, 0 , -0.707)
(0 , 0.707, 0.707)
( 0 , 0.707, -0.707)
(0, -0.707, 0.707)
(0 -0.707, -0.707)
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 13 Jul. 2022
xyz = [
1,0,0
-1, 0,0
0,0,1
0 ,0,-1
0.707, 0.707,0
0.707, -0.707, 0
-0.707, -0.707, 0
-0.707, 0.707, 0
0.707, 0, 0.707
0.707, 0 , -0.707
-0.707, 0, 0.707
-0.707, 0 , -0.707
0 , 0.707, 0.707
0 , 0.707, -0.707
0, -0.707, 0.707
0 -0.707, -0.707];
sphere
axis equal
hold on
scatter3(xyz(:,1), xyz(:,2), xyz(:,3), 'r*')
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Surface and Mesh 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!
