fangzhen.m

来自「MATLAB电机仿真精华50例,源代码!!!!!!!!」· M 代码 · 共 20 行

M
20
字号
function fangzhen 
tspan = [0  1];
y0 = [17.8876/0.13;0;0;0];
[t,y]=ode23tb('tongbufadianji',tspan,y0);
subplot(3,1,1)
plot(t,y(:,1))
xlabel('Time[s]')
ylabel('Ifd[A]')
hold on 
subplot(3,1,2)
plot(t,y(:,2))
xlabel('Time[s]')
ylabel('Ikd[A]')
hold on
subplot(3,1,3)
plot(t,y(:,4))
xlabel('Time[s]')
ylabel('Ibeta0[A]')
hold on

⌨️ 快捷键说明

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