代码搜索结果
找到约 36,166 项符合
Raspberry Pi 的代码
s41.m
%a24.m
wp=0.2*pi;wr=0.4*pi;tr_width=wr-wp
M=ceil(8*pi/tr_width)+1
n=[0:1:M-1];wc=(wr+wp)/2;
hd=ideal_lp(wc,M);
w_ham=(hamming(M))';
h=hd.*w_ham;
[db,mag,pha,w]=freqz_m(h,[1]);
delta_w=2*pi/100
no1.m
f=8000;
F=349.23;
G=392;
Db=293.66;
C=523.25;
D=587.33;
T1=0:1/f:0.25;
T2=0:1/f:0.5;
gs1=sin(2*pi*C*T2);
gs2=sin(2*pi*C*T1);
gs3=sin(2*pi*D*T1);
gs4=sin(2*pi*G*T2);
gs5=0*T2;
gs6=sin(2*pi
no2.m
f=8000;
F=349.23;
G=392;
Db=293.66;
C=523.25;
D=587.33;
T1=0:1/f:0.25;
T2=0:1/f:0.5;
s1=sin(2*pi*C*T2).*B(0.5,f);
s2=sin(2*pi*C*T1).*B(0.25,f);
s3=sin(2*pi*D*T1).*B(0.25,f);
s4=sin(2*pi*G*T
7-2-1.m
x1=rands(400)*pi;
x2=rands(300)*pi;
x3=zeros(100,1)*pi;
p1=x1;
p2=[x2;x3];
P=[p1 p2]';
deltatt=0.05;
T'=p2+deltatt*(10*sin(p1)-2*p2);
net=newff(minmax(P),[9 1],{'tansig','purelin'});
net.trai
2-8.m
P = {1 3 1 2 5 6};
Pi = {1 2};%两个初始输入延迟
T = {4.0 6.1 4.0 6.0 7.0 8.0};
net = newlind(P,T,Pi);
Y = sim(net,P,Pi)
exp4.m.svn-base
syms x;
f=exp(-(x-2)*(x-2)/(2*0.5*0.5))/(sqrt(2*pi)*0.5);
P=int(f,x,2.11,2.22)
exp4.m
syms x;
f=exp(-(x-2)*(x-2)/(2*0.5*0.5))/(sqrt(2*pi)*0.5);
P=int(f,x,2.11,2.22)
gngauss.m
function[gsrv1,gsrv2]=gngauss(m,sgma)
if nargin==0,
m=0;sgma=1;
elseif nargin==1,
sgma=m;m=0;
end;
u=rand;
z=sgma*(sqrt(2*log(1/(1-u))));
u=rand;
gsrv1=m+z*cos(2*pi*u);
gsrv2=m+z*sin
gngauss.m
function[gsrv1,gsrv2]=gngauss(m,sgma)
if nargin==0,
m=0;sgma=1;
elseif nargin==1,
sgma=m;m=0;
end;
u=rand;
z=sgma*(sqrt(2*log(1/(1-u))));
u=rand;
gsrv1=m+z*cos(2*pi*u);
gsrv2=m
fig7_11.m
fofr=0.01:0.001:32;
a=63.0/64.0;
term1=(1-2.*cos(a*2*pi*fofr)+cos(4*pi*fofr)).^2;
term2=(-2*sin(a*2*pi*fofr)+sin(4*pi*fofr)).^2;
resp=.25.*sqrt(term1+term2);
%axis([0 4 -60 0]);
resp=10.*log(res