代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
to design iir butteworth bandstop df by analog-lowpass.m
%----------------------------------------------------------------------------
% exa060603.m, for example 6.6.3;
% To design IIR Butteworth bandstop DF by analog-lowpass,
% -------------------------
design low-pass df.m
%-----------------------------------------------------------------------------
% exa060701_2.m , for example 6.7.1 and 6.5.1
% to test buttord,lp2lp,bilinear ;
% to design Low-pass DF with s=2/Ts[(
exa100800_corrcoef.m
%------------------------------------------------------------------------
% exa100800_corrcoef.m,
% to test corrcoef.m ;
%------------------------------------------------------------------------
test butter.m.m
%-----------------------------------------------------------------------------
% exa060701_3.m , for example 6.7.1 and 6.5.1
% to test butter.m
%---------------------------------------------------
calc_core.m
%this is an S function that calculates the current profile that is required
%
function [sys,x0,str,ts] = control1(t,x,u,flag,J,DF,N,BM,Rr,Rl,delta,KP,KI,KD,basecurr)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
coding .cpp
#include
int g,q;
char a,b,c,d,e,f,i,m,op;
double p1,p2,p3,p4,p5,p6,j1,j2,j3,j4,j5,j6,k1,k2,k3,k4,k5,k6,k7,Pi,pi,Ci,Asi=1.0,pm,Pm,Cm,Asm;
double S=1.0,M,C1=0.0;
double s1,s2;
double
test.asv
N=128;
T=1;
t=linspace(0,T,N);
x=12*sin(20*pi*t+pi/4)+5*cos(80*pi*t);
dt=t(2)-t(1);
f=1/dt;
X=frft(x,1);
y=ifft(x);
z=fft(x);
p1=real(X);
p2=real(y);
p3=real(z);
F=X(1:N);
Y=y(1:N);
f=f*
test.m
N=128;
T=1;
t=linspace(0,T,N);
%x=12*sin(20*pi*t+pi/4)+5*cos(80*pi*t);
x=cos(100*t);
dt=t(2)-t(1);
x=x(:);
f=1/dt;
X=frft(x,1);
%X=X';
y=ifft(x);
z=fft(x);
p1=real(X);
p2=real(y);
p3=rea
shiyulisan.txt
t=0:0.1: 50;
A=5;
a=0.05;
w0=2*pi;
f0=w0/(2*pi);
fs=5;
Ts=1/fs;
xt=A*exp(-a*t).*sin(w0*t);
subplot(3,1,1);
plot(t,xt);
axis([0 max(t) 1.1*min(xt) 1.1*max(xt)]);
title('原信号');
n=0:Ts:10;
x
cm_f34.m
% script that generates the figure 3.4 of Carrier modulation chapter
snrindB=0:0.25:18;
for i=1:length(snrindB),
snr=10^(0.1*snrindB(i));
P2(i)=Qfunct(sqrt(2*snr));
P4(i)=2*Qfunct(sqrt(4*sn