查看单个帖子
旧 2009-03-31, 19:56   #1
TTT_IOU
普通会员
 
注册日期: 2009-02-22
帖子: 91
声望力: 18
TTT_IOU 正向着好的方向发展
默认 帮指出下列程序的问题所在

下列两图形的问题出在哪里?
(一)syms x y
t=dsolve('x*Dy-(Dy)^2-y','x');
ezplot(t(1),[-6,6,-4,8],1);
cc=get(gca,'Children');
set(cc,'color','r','linewidth',4);
i=0;
for k=-2:0.5:2
i=i+1;
subplot(3,3,i);
ezplot(subs(t(2),'C1',k),[-6,6,-4,8],2);
title('results of equations');
end
(二)syms x y
t=dsolve('x*Dy-(Dy)^2-y','x');
cc=get(gca,'Children');
set(cc,'color','r','linewidth',4);
i=0;
for k=-2:0.5:2
i=i+1;
subplot(3,3,i);
ezplot(subs(t(2),'C1',k),[-6,6,-4,8],1);
title('results of equations');
end
ezplot(t(1),[-6,6,-4,8],2);
TTT_IOU 当前离线   回复时引用此帖