代码搜索结果
找到约 10,000 项符合
M 的代码
chap4_8m2.m
function [u]=chap4_8m2(u1,u2,u3,u4)
global s
persistent w x1 x2 x3 w_1 w_2 w_3
N=300;
C=5;
if u3==0
w=zeros(N+C,1);
w_1=w;
w_2=w;
d_w=w;
end
alfa=0.04;
if s==1
filename2s4m.m
function filename2S4M(filename)
% Function extracts directory name and file name from a full filename
% and creates/replaces fields S4M.pathname and S4M.filename
% If there is no full path the path
data3m9b.m
% A 3-machine 9-bus system from Chow's book pp.70
% data3m9b.m
% bus data format
% bus: number, voltage(pu), angle(degree), p_gen(pu), q_gen(pu),
% p_load(pu), q_load(pu),G shunt,B shunt, b
exm08052m_1_1.m
%exm080521m_1.m
%此文件应该在exm080521_1.mdl运行后,再运作。
tt=TX.time;
x1=TX.signals.values;
plot(tt,x1),grid on,
xlabel('kT'),ylabel('x1(kT)')
shg
chap4_8m1.m
function [u]=chap4_8m1(u1,u2,u3)
global s
persistent errori error_1
ts=0.001;
if u3==0
errori=0;
error_1=0;
end
s=2; %Selecting Signal Type
if s==1 %Step Signa
chap4_8m2.m
function [u]=chap4_8m2(u1,u2,u3,u4)
global s
persistent w x1 x2 x3 w_1 w_2 w_3
N=300;
C=5;
if u3==0
w=zeros(N+C,1);
w_1=w;
w_2=w;
d_w=w;
end
alfa=0.04;
if s==1
chap4_8m1.m
function [u]=chap4_8m1(u1,u2,u3)
global s
persistent errori error_1
ts=0.001;
if u3==0
errori=0;
error_1=0;
end
s=2; %Selecting Signal Type
if s==1 %Step Signa
chap4_8m2.m
function [u]=chap4_8m2(u1,u2,u3,u4)
global s
persistent w x1 x2 x3 w_1 w_2 w_3
N=300;
C=5;
if u3==0
w=zeros(N+C,1);
w_1=w;
w_2=w;
d_w=w;
end
alfa=0.04;
if s==1
exm08052m_1_1.m
%exm080521m_1.m
%此文件应该在exm080521_1.mdl运行后,再运作。
tt=TX.time;
x1=TX.signals.values;
plot(tt,x1),grid on,
xlabel('kT'),ylabel('x1(kT)')
shg