Deformaciones elásticas de un anillo circular (Grupo A2)
De MateWiki
Revisión del 12:48 5 dic 2013 de Villamayor (Discusión | contribuciones)
| |
1 Mallado de los puntos del sólido
h=0.1 % sampling step
u=1:h:2; % sampling of the interval [1,2]
v=0:h:2*pi+h; % sampling of the interval [0,2*pi]
[uu,vv]=meshgrid(u,v); % matrixes of u and v coordinates
figure(1)
xx=uu.*cos(vv); % parametrization
yy=uu.*sin(vv);
mesh(xx,yy,0*xx) % Draw the mesh
axis([-3,3,-3,3]) % select region for drawing
view(2) % See the pisture from the top2 Distribución de temperaturas
h=0.1 % sampling step
u=1:h:2; % sampling of the interval [1,2]
v=0:h:2*pi+h; % sampling of the interval [0,2*pi]
[uu,vv]=meshgrid(u,v); % matrixes of u and v coordinates
figure(1)
xx=uu.*cos(vv); % parametrization
yy=uu.*sin(vv);
mesh(xx,yy,0*xx) % Draw the mesh
axis([-3,3,-3,3])
f=-log(uu+0.1); % The scalar field
surf(xx,yy,f) % Draw the mesh
axis([-3,3,-3,3]) % select region for drawing
view(2)Archivo:Campo escalar
centro
