-
-
... % define precision, useful for symbolic math operationsdeg2rad = pi/180; % conversion factor from degs to radiansrad2deg = 1/deg2rad; % conversion factor from radians to deg%% Objectives:% The objective of this example is to analyze the small-signal stability% ...
-
-
...,1);end V_bus_h=v_bus_h_shift;V_mag=abs(V_bus_h);V_ang=angle(V_bus_h)*180/pi;V_size=size(V_bus_h);for i=1:V_size(1,1)% fprintf('V%g= %g , %g\n',i,V_mag(i,1),V_ang(i,1));end%%%%%%%% injected current to each bus %%%%%%%%%for i=1:V_size(1,1) if source(1,i...
-
-
...; 50, 60, 70, 80, 90, 100, 120, 140, 160,
180, 200, 300, 400, 500, 600, 700, 800, 900,1000};//30
void SetSpeed(unsigned char Speed)
{
SystemSpeed =SpeedCode[Speed];
}
void LEDShow(unsigned int LEDStatus)
{
P1 = ~(LEDStatus&0x00FF);
P0 = ~((LEDStatus&...
-
-
...nbsp; sp.rotate(spTime*8*Math.PI/180);//设定每次旋转的度数
sp.fillStyle='blue';
sp.beginPath();
&nbs...