代码搜索结果
找到约 10,000 项符合
P 的代码
p2.for
*=======================================================================
SUBROUTINE USER(K)
*-----------------------------------------------------------------------
$INCLUDE:'SIMPLE.INC'
p.m
clear all
G0=tf(1,[1,3,3,1]);Ti=[0.8:0.2:1.6];
Kp=1;
for i=1:length(Ti);
Gc=tf(Kp*[1,1/Ti(i)],[1,0]);
G=feedback(Gc*G0,1);
step(G);figure;
end
p.asv
clear all
G0=tf(1,[1,3,3,1]);Ti=[0.6:0.2:1.4];
Kp=1;
for i=1:length(Ti)
Gc=tf(Kp*[1,1/Ti(i)],[1,0]);
G=feedback(Gc*G0,1);hold on;
step(G);grid on;
axis([0,20,-0.5,2.5]);
en
p.m
%
% routine to get the square root of a number
%
% usage: via tree structured GA
%
function out = p(u)
%
%
out=exp(u);