You are now following this entry
- You will see updates in your followed content feed.
- You may receive emails, depending on your communication preferences.
- /
-
Spheres
on 23 Oct 2022
- 2
- 26
- 0
- 0
- 157
clear
[x,y,z]=sphere
x = 21×21
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
-0.1564 -0.1488 -0.1266 -0.0919 -0.0483 0.0000 0.0483 0.0919 0.1266 0.1488 0.1564 0.1488 0.1266 0.0919 0.0483 0.0000 -0.0483 -0.0919 -0.1266 -0.1488 -0.1564
-0.3090 -0.2939 -0.2500 -0.1816 -0.0955 0.0000 0.0955 0.1816 0.2500 0.2939 0.3090 0.2939 0.2500 0.1816 0.0955 0.0000 -0.0955 -0.1816 -0.2500 -0.2939 -0.3090
-0.4540 -0.4318 -0.3673 -0.2668 -0.1403 0.0000 0.1403 0.2668 0.3673 0.4318 0.4540 0.4318 0.3673 0.2668 0.1403 0.0000 -0.1403 -0.2668 -0.3673 -0.4318 -0.4540
-0.5878 -0.5590 -0.4755 -0.3455 -0.1816 0.0000 0.1816 0.3455 0.4755 0.5590 0.5878 0.5590 0.4755 0.3455 0.1816 0.0000 -0.1816 -0.3455 -0.4755 -0.5590 -0.5878
-0.7071 -0.6725 -0.5721 -0.4156 -0.2185 0.0000 0.2185 0.4156 0.5721 0.6725 0.7071 0.6725 0.5721 0.4156 0.2185 0.0000 -0.2185 -0.4156 -0.5721 -0.6725 -0.7071
-0.8090 -0.7694 -0.6545 -0.4755 -0.2500 0.0000 0.2500 0.4755 0.6545 0.7694 0.8090 0.7694 0.6545 0.4755 0.2500 0.0000 -0.2500 -0.4755 -0.6545 -0.7694 -0.8090
-0.8910 -0.8474 -0.7208 -0.5237 -0.2753 0.0000 0.2753 0.5237 0.7208 0.8474 0.8910 0.8474 0.7208 0.5237 0.2753 0.0000 -0.2753 -0.5237 -0.7208 -0.8474 -0.8910
-0.9511 -0.9045 -0.7694 -0.5590 -0.2939 0.0000 0.2939 0.5590 0.7694 0.9045 0.9511 0.9045 0.7694 0.5590 0.2939 0.0000 -0.2939 -0.5590 -0.7694 -0.9045 -0.9511
-0.9877 -0.9393 -0.7991 -0.5805 -0.3052 0.0000 0.3052 0.5805 0.7991 0.9393 0.9877 0.9393 0.7991 0.5805 0.3052 0.0000 -0.3052 -0.5805 -0.7991 -0.9393 -0.9877
●
y = 21×21
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 -0.0483 -0.0919 -0.1266 -0.1488 -0.1564 -0.1488 -0.1266 -0.0919 -0.0483 0 0.0483 0.0919 0.1266 0.1488 0.1564 0.1488 0.1266 0.0919 0.0483 0
0 -0.0955 -0.1816 -0.2500 -0.2939 -0.3090 -0.2939 -0.2500 -0.1816 -0.0955 0 0.0955 0.1816 0.2500 0.2939 0.3090 0.2939 0.2500 0.1816 0.0955 0
0 -0.1403 -0.2668 -0.3673 -0.4318 -0.4540 -0.4318 -0.3673 -0.2668 -0.1403 0 0.1403 0.2668 0.3673 0.4318 0.4540 0.4318 0.3673 0.2668 0.1403 0
0 -0.1816 -0.3455 -0.4755 -0.5590 -0.5878 -0.5590 -0.4755 -0.3455 -0.1816 0 0.1816 0.3455 0.4755 0.5590 0.5878 0.5590 0.4755 0.3455 0.1816 0
0 -0.2185 -0.4156 -0.5721 -0.6725 -0.7071 -0.6725 -0.5721 -0.4156 -0.2185 0 0.2185 0.4156 0.5721 0.6725 0.7071 0.6725 0.5721 0.4156 0.2185 0
0 -0.2500 -0.4755 -0.6545 -0.7694 -0.8090 -0.7694 -0.6545 -0.4755 -0.2500 0 0.2500 0.4755 0.6545 0.7694 0.8090 0.7694 0.6545 0.4755 0.2500 0
0 -0.2753 -0.5237 -0.7208 -0.8474 -0.8910 -0.8474 -0.7208 -0.5237 -0.2753 0 0.2753 0.5237 0.7208 0.8474 0.8910 0.8474 0.7208 0.5237 0.2753 0
0 -0.2939 -0.5590 -0.7694 -0.9045 -0.9511 -0.9045 -0.7694 -0.5590 -0.2939 0 0.2939 0.5590 0.7694 0.9045 0.9511 0.9045 0.7694 0.5590 0.2939 0
0 -0.3052 -0.5805 -0.7991 -0.9393 -0.9877 -0.9393 -0.7991 -0.5805 -0.3052 0 0.3052 0.5805 0.7991 0.9393 0.9877 0.9393 0.7991 0.5805 0.3052 0
●
z = 21×21
-1.0000 -1.0000 -1.0000 -1.0000 -1.0000 -1.0000 -1.0000 -1.0000 -1.0000 -1.0000 -1.0000 -1.0000 -1.0000 -1.0000 -1.0000 -1.0000 -1.0000 -1.0000 -1.0000 -1.0000 -1.0000
-0.9877 -0.9877 -0.9877 -0.9877 -0.9877 -0.9877 -0.9877 -0.9877 -0.9877 -0.9877 -0.9877 -0.9877 -0.9877 -0.9877 -0.9877 -0.9877 -0.9877 -0.9877 -0.9877 -0.9877 -0.9877
-0.9511 -0.9511 -0.9511 -0.9511 -0.9511 -0.9511 -0.9511 -0.9511 -0.9511 -0.9511 -0.9511 -0.9511 -0.9511 -0.9511 -0.9511 -0.9511 -0.9511 -0.9511 -0.9511 -0.9511 -0.9511
-0.8910 -0.8910 -0.8910 -0.8910 -0.8910 -0.8910 -0.8910 -0.8910 -0.8910 -0.8910 -0.8910 -0.8910 -0.8910 -0.8910 -0.8910 -0.8910 -0.8910 -0.8910 -0.8910 -0.8910 -0.8910
-0.8090 -0.8090 -0.8090 -0.8090 -0.8090 -0.8090 -0.8090 -0.8090 -0.8090 -0.8090 -0.8090 -0.8090 -0.8090 -0.8090 -0.8090 -0.8090 -0.8090 -0.8090 -0.8090 -0.8090 -0.8090
-0.7071 -0.7071 -0.7071 -0.7071 -0.7071 -0.7071 -0.7071 -0.7071 -0.7071 -0.7071 -0.7071 -0.7071 -0.7071 -0.7071 -0.7071 -0.7071 -0.7071 -0.7071 -0.7071 -0.7071 -0.7071
-0.5878 -0.5878 -0.5878 -0.5878 -0.5878 -0.5878 -0.5878 -0.5878 -0.5878 -0.5878 -0.5878 -0.5878 -0.5878 -0.5878 -0.5878 -0.5878 -0.5878 -0.5878 -0.5878 -0.5878 -0.5878
-0.4540 -0.4540 -0.4540 -0.4540 -0.4540 -0.4540 -0.4540 -0.4540 -0.4540 -0.4540 -0.4540 -0.4540 -0.4540 -0.4540 -0.4540 -0.4540 -0.4540 -0.4540 -0.4540 -0.4540 -0.4540
-0.3090 -0.3090 -0.3090 -0.3090 -0.3090 -0.3090 -0.3090 -0.3090 -0.3090 -0.3090 -0.3090 -0.3090 -0.3090 -0.3090 -0.3090 -0.3090 -0.3090 -0.3090 -0.3090 -0.3090 -0.3090
-0.1564 -0.1564 -0.1564 -0.1564 -0.1564 -0.1564 -0.1564 -0.1564 -0.1564 -0.1564 -0.1564 -0.1564 -0.1564 -0.1564 -0.1564 -0.1564 -0.1564 -0.1564 -0.1564 -0.1564 -0.1564
●
surf(x,y,z)
axis equal
hold on
for i=1:150
r=0.5;
X=r*x;
Y=r*y;
Z=r*z;
kx=randn;
ky=randn;
kz=randn;
surf(X+kx,Y+ky,Z+kz)
end
colormap colorcube
axis tight off

Open in MATLAB Online
Open in MATLAB Online
Please note that this entry may require the download of one or more File Exchange submissions.
Image
Website auswählen
Wählen Sie eine Website aus, um übersetzte Inhalte (sofern verfügbar) sowie lokale Veranstaltungen und Angebote anzuzeigen. Auf der Grundlage Ihres Standorts empfehlen wir Ihnen die folgende Auswahl: .
Sie können auch eine Website aus der folgenden Liste auswählen:
So erhalten Sie die bestmögliche Leistung auf der Website
Wählen Sie für die bestmögliche Website-Leistung die Website für China (auf Chinesisch oder Englisch). Andere landesspezifische Websites von MathWorks sind für Besuche von Ihrem Standort aus nicht optimiert.
Amerika
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)

