Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Educacion Ambiental
Educacion Ambiental
Título:
Aplicación del subplots
Autor:
17-05- 2017
LATACUNGA – ECUADOR
CÓDIGO DE PROGRAMACIÓN
x=0:0.02:20;
y1=x.^2+1;
y2=sin(x);
y3=(1-cos(x).^2);
y4 = exp(3*x)/cos(x);
subplot;
subplot(2,2,1);
plot(x,y1)
subplot(2,2,2);
plot(x,y2)
subplot(2,2,3);
plot(x,y3)
subplot(2,2,4);
plot(x,y4)
subplot(2,2,1)
plot(x,y1)
xlabel('x')
ylabel('y')
title('FUNCION:y1=x.^2+1')
subplot(2,2,2)
plot(x,y2)
xlabel('x')
ylabel('y')
title('FUNCION:y2=sin(x)')
subplot(2,2,3)
plot(x,y3)
xlabel('x')
ylabel('y')
title('FUNCION:(1-cos(x).^2)')
subplot(2,2,4)
plot(x,y4)
xlabel('x')
ylabel('y')
title('FUNCION:y4 = exp(3*x)/cos(x)')
CAPTURAS DE PANTALLA:
Figuras de la funciones
Programación de funciones: