ex10_6.m

来自「美国 A.E.Fitgerald著 刘新正,苏少平,高琳翻译,第六版的源代码」· M 代码 · 共 28 行

M
28
字号
% Example 10.6

clc
clear

%parameters
omega = 2*pi*60;
R = 5.6;
V0 = 230*sqrt(2);


for n = 1:100
   Ls(n) = n*1e-3;
   Idc(n) = 2*V0/(pi*R + 2*omega*Ls(n));
   tc(n) = (1/omega)*acos(1-(2*Idc(n)*omega*Ls(n))/V0);
end

plot(Ls*1000,Idc)
xlabel('Commutating inductance Ls [mH]')
ylabel('Idc')

fprintf('\nHit any key to continue\n')
pause

plot(Ls*1000,tc*1000)
xlabel('Commutating inductance Ls [mH]')
ylabel('tc [msec]')

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?