2个回答
展开全部
A=[
0 0.5 0.5 6 6 5.5 5.5 0;
0 0 6.42 0 8 8 1.58 8;
1 1 1 1 1 1 1 1
];
x = A(1, :);
y = A(2, :);
x = [x x(1)];
y = [y y(1)];
subplot(2, 2, 1)
plot(x, y)
axis([-5 10 -5 10])
xlabel('(1)');
grid on
subplot(2, 2, 2)
plot(0.5*x, 0.5*y)
axis([-5 10 -5 10])
xlabel('(2)');
grid on
subplot(2, 2, 3)
plot(-0.5*y, 0.5*x)
axis([-5 10 -5 10])
xlabel('(3)');
grid on
subplot(2, 2, 4)
plot(0.5*(-9+y), 5-0.5*x)
axis([-5 10 -5 10])
xlabel('(4)');
grid on
0 0.5 0.5 6 6 5.5 5.5 0;
0 0 6.42 0 8 8 1.58 8;
1 1 1 1 1 1 1 1
];
x = A(1, :);
y = A(2, :);
x = [x x(1)];
y = [y y(1)];
subplot(2, 2, 1)
plot(x, y)
axis([-5 10 -5 10])
xlabel('(1)');
grid on
subplot(2, 2, 2)
plot(0.5*x, 0.5*y)
axis([-5 10 -5 10])
xlabel('(2)');
grid on
subplot(2, 2, 3)
plot(-0.5*y, 0.5*x)
axis([-5 10 -5 10])
xlabel('(3)');
grid on
subplot(2, 2, 4)
plot(0.5*(-9+y), 5-0.5*x)
axis([-5 10 -5 10])
xlabel('(4)');
grid on
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询