正在加载图片...
程序与图形结果 x0=[0,0.5,0.5,6,6,5.5,5.5,0;0,0,6.42,0,8,8,1.58,8] X=[x0,x0(:,1)]; %把首顶点坐标补到末顶点后 A=[1,0.25;0,1];y=A*x subplot(1,2,1),plot(x(1,:),x(2,:) subplot(1,2,2),plot(y(1,:),y(2,:) 画出的两个图形如右: 8 8 2 程序与图形结果 x0=[0,0.5,0.5,6,6,5.5,5.5,0;0,0,6.42,0,8,8,1.58,8]; x=[x0,x0(:,1)]; % 把首顶点坐标补到末顶点后 A=[1,0.25;0,1]; y=A*x; subplot(1,2,1),plot(x(1,:),x(2,:)) subplot(1,2,2),plot(y(1,:),y(2,:)) 画出的两个图形如右:
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有