|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?我要加入
x
function dc2dc2sim;
fff=inline(['[10-exp(-2083.3333*0.0001*(1-mod(tn,0.0001)/0.0001)*[(2083.3333*vn*exp(-2*2083.3333*tn)-2083.3333*10-(iref-10/20)/0.000012)*sin(9363.4188*0.0001*(1-mod(tn,0.0001)/0.0001))/9363.4188+(10-vn*exp(-2*2083.3333*tn))*cos(9363.4188*0.0001*(1-mod(tn,0.0001)/0.0001))]);',...
'exp(-2083.3333*0.0001*(1-mod(tn,0.0001)/0.0001)*[(2083.3333*0.001*()+10-vn*exp(-2*2083.3333*tn))/(9363.4188*0.001)*sin(9363.4188*0.0001*(1-mod(tn,0.0001)/0.0001))+(iref-10/20)*cos(9363.4188*0.0001*(1-mod(tn,0.0001)/0.0001))]+10/20]'],...
'vn','in','tn','iref'); %%% fff=inline(['vn+1的表达式','in+1的表达式'],'vn','in','tn','iref')
kk=0.5:0.1:5.5;
nn=0:0.0001/10:0.0001; %%%%%T=100us
xc=[];kc=[];
for iref=kk; %%%i以ref 从0.5到5.5变化为参考作vn的分岔图;
vn=0;
in=0;
for tn=nn;
for p=1:500;
in=fff(vn,in,tn,iref);
end
for p=1:50;
in=fff(vn,in,tn,iref);
xc=[xc,in];
kc=[kc,iref];
end
end
end
plot(kc,xc,'k.','markersize',2); %%%%打印以Iref为变化参数的电流分岔图。
请版主、 superliu各位研友赐教问题所在,分岔图做不出来啊!谢谢! |
-
|