⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fangzhen.m

📁 《MATLAB电机仿真精华50例》书里面的各种模型
💻 M
字号:
function fangzhen 
tspan = [0  1];
y0 = [0;0;17.8876/0.13;0;0];
[t,y]=ode23tb('tongbufadianji',tspan,y0);
subplot(5,1,1)
plot(t,y(:,1))
xlabel('Time[s]')
ylabel('Id[A]')

hold on 
subplot(5,1,2)
plot(t,y(:,2))
xlabel('Time[s]')
ylabel('Iq[A]')

hold on
subplot(5,1,3)
plot(t,y(:,3))
xlabel('Time[s]')
ylabel('Ifd[A]')

hold on
subplot(5,1,4)
plot(t,y(:,4))
xlabel('Time[s]')
ylabel('Ikd[A]')

hold on
subplot(5,1,5)
plot(t,y(:,5))
hold on
xlabel('Time[s]')
ylabel('Ikq[A]')

⌨️ 快捷键说明

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