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

📄 fangzhen.m

📁 MATLAB电机仿真精华50例,源代码!!!!!!!!
💻 M
字号:
%编写求解空载建立电压微分方程的函数(fangzhen)
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]')

⌨️ 快捷键说明

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