新浪博客

r /> legend('uc1','uc2','uc3');
set(p1,'Color','r');
set(p2,'Color','k');
legend('uc1','uc2','uc3');
hold off;
axis auto;
figure (2)
xlabel('t')
ylabel('I(t)')
hold on;
p4=ezplot(It1,[0,0.02]);
p5=ezplot(It2,[0,0.02]);
p6=ezplot(It3,[0,0.02]);
title('电流I(t)变化曲线')
set(p4,'LineStyle',':');
set(p5,'LineStyle','--');
legend('uc1','uc2','uc3');
set(p4,'Color','r');
set(p5,'Color','k');
legend('It1','It2','It3');
hold off;
axis auto;
figure (3)
xlabel('t')
ylabel('Ul(t)')
hold on;
p7=ezplot(Ul1,[0,0.02]);
p8=ezplot(Ul2,[0,0.02]);
p9=ezplot(Ul3,[0,0.02]);
title('电感电压Ul(t)变化曲线')
set(p7,'LineStyle',':');
set(p8,'LineStyle','--');
legend('uc1','uc2','uc3');
set(p7,'Color','r');
set(p8,'Color','k');
legend('Ul1','Ul2','Ul3');
hold off;
axis auto;

我的更多文章

下载客户端阅读体验更佳

APP专享