?? sh_motor_start_so.m
字號:
% 編寫求解起動過程微分方程的腳本函數(shù)
% 將該腳本函數(shù)定義為sh_motor_vary_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
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -