You are now following this entry
- You will see updates in your followed content feed.
- You may receive emails, depending on your communication preferences.
Direct link to this entry
- /
-
Spheres
on 23 Oct 2022
- 2
- 13
- 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

Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.
América
- 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)
Asia-Pacífico
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)