Diferencia entre revisiones de «Prueba curso 20162017»
De MateWiki
| Línea 9: | Línea 9: | ||
[[Archivo:Desert.jpg|miniaturadeimagen|flasfgkl<asd]] | [[Archivo:Desert.jpg|miniaturadeimagen|flasfgkl<asd]] | ||
| + | |||
| + | == MATLAB code == | ||
| + | {{matlab|codigo= | ||
| + | x=-0.5:0.1:0.5; % sampling of the interval [-1/2,1/2] | ||
| + | y=0:0.1:2; % sampling of the interval [0,2] | ||
| + | [xx,yy]=meshgrid(x,y); % matrixes of x and y coordinates | ||
| + | figure(1) | ||
| + | mesh(xx,yy,0*xx) % Draw the mesh | ||
| + | axis([-2,2,-1,3]) % select region for drawing | ||
| + | view(2) % See the picture from the top | ||
| + | }} | ||
| + | |||
| + | |||
[[Categoría:TC16/17]] | [[Categoría:TC16/17]] | ||
Revisión del 15:35 17 nov 2016
dkalsdfjad
ñdad
dflald gfdasdñf ç [math] [-1/2,1/2]\times [0,2][/math]
MATLAB code
x=-0.5:0.1:0.5; % sampling of the interval [-1/2,1/2]
y=0:0.1:2; % sampling of the interval [0,2]
[xx,yy]=meshgrid(x,y); % matrixes of x and y coordinates
figure(1)
mesh(xx,yy,0*xx) % Draw the mesh
axis([-2,2,-1,3]) % select region for drawing
view(2) % See the picture from the top