Gráficas bidimensionales y tridimensionales
Publicado por Jordi (12 intervenciones) el 19/01/2021 22:59:38

Valora esta pregunta


0
%% Datos
theta = 0 : 0.1 : (2*pi);
r1 = sin(theta.^2) + cos(theta.^2);
r2 = sin(theta);
r3 = exp(theta/5);
r4 = sinh(theta);
%% Gráficas
figure;
subplot(2,2,1);
polarplot(theta,r1);
grid on;
title('r = sin(\theta^2) + cos(\theta^2)');
subplot(2,2,2);
polarplot(theta,r2);
grid on;
title('r = sin(\theta)');
subplot(2,2,3);
polarplot(theta,r3);
grid on;
title('r = e^{(\theta/5)}');
subplot(2,2,4);
polarplot(theta,r4);
grid on;
title('r = sinh(\theta)');