Matlab - Representar en cuatro gráficas las siguientes funciones:

 
Vista:
sin imagen de perfil
Val: 71
Ha mantenido su posición en Matlab (en relación al último mes)
Gráfica de Matlab

Representar en cuatro gráficas las siguientes funciones:

Publicado por bernardo (15 intervenciones) el 21/01/2021 21:44:06
Screenshot-40
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
-2
Responder
Imágen de perfil de Jon
Val: 354
Ha aumentado 1 puesto en Matlab (en relación al último mes)
Gráfica de Matlab

Representar en cuatro gráficas las siguientes funciones:

Publicado por Jon (161 intervenciones) el 22/01/2021 09:42:13
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
%% Funciones
x1 = -6 : 0.1 : 2;
px = 5.*x1.^3 - 4.*x1 + 1;
qx = 3.*x1.^2 + 2;
rx = px .* qx;
 
x2 = 0 : 0.1 : 4;
zx = (3.*x2 .* tan(x2) + 1.5) / sin(pi);
 
%% Gráficas
figure;
subplot(2,2,1);
plot(x1,px);
grid on;
xlabel('eje x');
ylabel('p(x)');
 
subplot(2,2,2);
plot(x1,qx);
grid on;
xlabel('eje x');
ylabel('q(x)');
 
subplot(2,2,3);
plot(x1,rx);
grid on;
xlabel('eje x');
ylabel('r(x)');
 
subplot(2,2,4);
plot(x2,zx);
grid on;
xlabel('eje x');
ylabel('z(x)');
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar