📄 sh_motor_se_so.m
字号:
% 编写求解起动过程微分方程的脚本函数
% 将该脚本函数定义为sh_motor_se_so(shunt_motor_self_excited_solver)
[t,y]=ode23(@sh_motor_se_ode,[0:.01:10],[0;0;0])
% 首先绘制if=f(t)曲线
subplot(3,1,1),
plot(t,y(:,1))
xlabel('Time[T]')
ylabel('If[A]')
grid on
% 下面绘制ia=f(t)曲线
subplot(3,1,2),
plot(t,y(:,2)),
xlabel('Time[T]')
ylabel('Ia[A]')
grid on
% 下面绘制w=f(t)曲线
subplot(3,1,3),
plot(t,y(:,3))
xlabel('Time[T]')
ylabel('w[s/s]')
grid on
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -