跪求大神解释,matlab代码 plot([area(2) area(2)],[area(3) area(4)],'-k',,,,这句什么意思啊?
这是相关部分代码quare_L=all_nodes.square_L;area=all_nodes.area;plot([area(2)area(2)],[area(3)...
这是相关部分代码quare_L=all_nodes.square_L;
area=all_nodes.area;
plot([area(2) area(2)],[area(3) area(4)],'-k',[area(2) square_L],[area(3) area(3)],'-k',[area(2) square_L],[area(4) area(4)],'-k'); 展开
area=all_nodes.area;
plot([area(2) area(2)],[area(3) area(4)],'-k',[area(2) square_L],[area(3) area(3)],'-k',[area(2) square_L],[area(4) area(4)],'-k'); 展开
1个回答
2016-06-29
展开全部
第一题 matlab 代码 面积结果存放在变量 area 中
clear all
x= linspace(-10,10,1000);
y1=x.^2/8;
y2=64./(x.^2+16);
plot(x,y1)
hold on
plot(x,y2)
xlabel('x')
ylabel('y')
clear all
x= linspace(-10,10,1000);
y1=x.^2/8;
y2=64./(x.^2+16);
plot(x,y1)
hold on
plot(x,y2)
xlabel('x')
ylabel('y')
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询