代码搜索结果

找到约 10,000 项符合 Raspberry Pi 的代码

untitled6.m

clear all; N=61; T1=0.1095; T2=0.598; alpha= (N-1)/2; l=0:N-1; wl= (2*pi/N)*l; Hrs=[zeros(1,22),T1,T2,ones(1,14),T2,T1,zeros(1,21)]; %理想振幅采样响应 Hdr=[0,0,1,1]; wdl=[0,0.75,0.75,1]; k1=

p1-98.cpp

#include //以下是几个简单宏替换预处理指令 #define YES 1 #define PI 3.1415926 #define RAD PI/180 #define MESG "This is a string." //以下是主程序 main() { //以下各语句使

p1-12.cpp

#include const double PI=3.1416; //声明常量(const变量)PI为3.1416 main() { //声明3个变量 double r,l,s; //输入圆的半径 coutr; //计算圆的周长

p1-100.cpp

#include #define PI 3.1416 main() { int i=100; #if 1 cout

t1.m

Wp=0.1;Ws=0.4;Rp=1;Rs=15; [N,Wpo]=cheb1ord(Wp,Ws,Rp,Rs); [Bz,Az]=cheby1(N,Rp,Wpo); w=0:0.1:pi; [H,w1]=freqz(Bz,Az,w);H=20*log(abs(H)); figure(1) plot(w/pi,H),grid on f1=50;f2=500; fs=1000;T=1

example6_2.m

t=0:pi/100:4*pi; s=sin(t+3*pi/4); plot(s); title('原始信号s'); %==================================== %对s进行小波分解:db1 3层 [c,l]=wavedec(s,3,'db1'); %==================================== %提取小波分解的低频系数a

freqtransform.m

%频率变换,低通、高通、带通、带阻函数分别为lp2lp,lp2hp,lp2bp,lp2bs %page_353 upper %怎样才能和书上作出一样的图呢?????????????????? [z,p,k]=buttap(3);%3 pole filter [num,den]=zp2tf(z,p,k);%convert to polynoials wb=5*2*pi; %new ban

page30_1_9f.m

n=-10:10; x=cos(pi/8*(n.^2)); stem(n,x,'filled');%用来画离散的信号 axis([-10,10,-1,1]); xlabel('n'); ylabel('x[n]');

windowfunction.m

% Example 10.11 % 介绍矩形窗,hamming窗和hanning窗 Wc = .4; N = 41; % length of filter m = (N-1)/2; % phase shift n = 0:2*m+10; n_m = n-m + ((n-m)==0)*eps; % to avoid dividing by zero,

page_413.m

%设计一个切比雪夫1型高通滤波器,其模拟截止频率wc=2 %page_413 N=2;%number of poles Rp=3;%passband ripple T=.2;%sampling period wc=2;%analog cutoff frequency Wc=wc*T/pi;%normalized digital cutoff frequency [numd,dend