代码搜索:M
找到约 10,000 项符合「M」的源代码
代码结果 10,000
www.eeworm.com/read/486900/6519663
m m8_4.m
a=5;b=1;c=1;d=0;
Q=[1000,0;0,1];
R=1;
A=[a,0;-c*a,1];
B=[b;-c*b];
N=[0;1];
[Kx,S,e]=dlqr(A,B,Q,R,N)
k1=-Kx(2);k2=Kx(1);
axc=[(a-b*k2),b*k1;(-c*a+c*b*k1),(1-c*b*k1)];
bxc=[0;1];
cxc=[1,0];
d
www.eeworm.com/read/486900/6519664
m m8_5.m
A=[-1 -6;12 0];
B=[1;0];
C=[0 4];
D=0;
sys=ss(A,B,C,D);
clsys0=feedback(sys,1);
t=0:0.01:1.0;
u1=25+t*0;
N=length(t) ;
u2=idinput(N,'rgs');
G=[3;0];
H=0.2;
BG=[B G];
DH=[D H];
LQGsys=ss(
www.eeworm.com/read/486900/6519666
m m8_6.m
A=[0,1;0,0];
B=[0,1]'; %该语句的′号代表求矩阵转置
C=[1,0];D=0;
Q=[2,1;1,4];
R=1/2;
[K,P,E]=lqr(A,B,Q,R) %计算并显示最优状态反馈矩阵K、P矩阵和特征值E
www.eeworm.com/read/486900/6519667
m m8_7.m
A=[0 1 0;0 0 1;-16 -9 -12];B=[0;0;1];
Q=[300 0 0;0 1 0;0 0 1];R=1;N=[0;0;1];
[K,P,E]=lqr(A,B,Q,R,N)
www.eeworm.com/read/486900/6519669
m m7_8.m
%Fuzzy Tunning PID Control
clear all;
close all;
a=newfis('fuzzpid');
a=addvar(a,'input','e',[-3,3]); %Parameter e
a=addmf(a,'input',1,'NB','zmf',[-3,-1]);
a=addmf(a,'
www.eeworm.com/read/486900/6519670
m m7_7.m
%Single Neural Adaptive PID Controller
clear all;
close all;
x=[0,0,0]';
xiteP=0.40;
xiteI=0.35;
xiteD=0.40;
%Initilizing kp,ki and kd
wkp_1=0.10;
wki_1=0.10;
wkd_1=0.10;
%wkp_1=rand;
www.eeworm.com/read/486900/6519671
m m7_9.m
%Expert PID Controller
clear all;
close all;
ts=0.001;
sys=tf(5.235e005,[1,87.35,1.047e004,0]);
dsys=c2d(sys,ts,'z');
[num,den]=tfdata(dsys,'v');
u_1=0.0;u_2=0.0;u_3=0.0;
y_1=0;y_2=0;y_3=0
www.eeworm.com/read/486900/6519673
m m7_3.m
clear all;
close all;
ts=0.001;
sys=tf(523407,[1,86.85,10465,0]);
dsys=c2d(sys,ts,'z');
[num,den]=tfdata(dsys,'v');
u_1=0.0;u_2=0.0;u_3=0.0;
y_1=0.0;y_2=0.0;y_3=0.0;
x=[0,0,0]';
error_1=0
www.eeworm.com/read/486900/6519674
m m7_6.m
%Integration Separation PID Controller
clear all;
close all;
ts=20;
%Delay plant
sys=tf([1],[60,1],'inputdelay',80);
dsys=c2d(sys,ts,'zoh');
[num,den]=tfdata(dsys,'v');
u_1=0;u_2=0;u_3=0;u
www.eeworm.com/read/486900/6519675
m m7_5.m
%Increment PID Controller
clear all;
close all;
ts=0.001;
sys=tf(50,[0.125,7,0]);
dsys=c2d(sys,ts,'z');
[num,den]=tfdata(dsys,'v');
u_1=0.0;u_2=0.0;u_3=0.0;
y_1=0;y_2=0;y_3=0;
x=[0,0,0]