代码搜索:persistent
找到约 2,751 项符合「persistent」的源代码
代码结果 2,751
www.eeworm.com/read/232951/14175850
m 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
www.eeworm.com/read/227046/14442944
m 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
www.eeworm.com/read/227046/14443052
m chap1_7f.m
function [u]=pidsimf(u1,u2)
persistent pidmat errori error_1
if u1==0
errori=0
error_1=0
end
ts=0.001;
kp=1.5;
ki=2.0;
kd=0.05;
error=u2;
errord=(error-error_1)/ts;
errori=e
www.eeworm.com/read/225852/14513457
m body1.m
function x=body1(x,u,v)
% 4th order Runge-Kutta solution of differential equation in 'bodydot'
persistent delta
if nargin==1,
delta = x(1);
bodydot(x);
else
k1 = delta*bodydot(x,u,v);
www.eeworm.com/read/225665/14526701
m 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
www.eeworm.com/read/225665/14526838
m chap1_7f.m
function [u]=pidsimf(u1,u2)
persistent pidmat errori error_1
if u1==0
errori=0
error_1=0
end
ts=0.001;
kp=1.5;
ki=2.0;
kd=0.05;
error=u2;
errord=(error-error_1)/ts;
errori=e
www.eeworm.com/read/222611/14683776
m 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
www.eeworm.com/read/222611/14683878
m chap1_7f.m
function [u]=pidsimf(u1,u2)
persistent pidmat errori error_1
if u1==0
errori=0
error_1=0
end
ts=0.001;
kp=1.5;
ki=2.0;
kd=0.05;
error=u2;
errord=(error-error_1)/ts;
errori=e
www.eeworm.com/read/221412/14741644
m chap1_3f.m
function [u]=pidsimf(u1,u2)
persistent pidmat errori error_1
if u1==0
errori=0
error_1=0
end
ts=0.001;
kp=1.5;
ki=2.0;
kd=0.05;
error=u2;
errord=(error-error_1)/ts;
errori=e
www.eeworm.com/read/220288/14844090
m body1.m
function x=body1(x,u,v)
% 4th order Runge-Kutta solution of differential equation in 'bodydot'
persistent delta
if nargin==1,
delta = x(1);
bodydot(x);
else
k1 = delta*bodydot(x,u,v);