代码搜索结果

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

ex050600.m

% Chapter 05: Example 05.06: Simple DFT Example % x = [1,1,1,1]; subplot(1,1,1); % % a) DTFT w = [0:1:500]*2*pi/500; [H] = freqz(x,1,w); magH = abs(H); phaH = angle(H); phaH(126)=-47.5841*pi/1

ex050700.m

% Chapter 05: Example 05.07: Zero-padding Example % subplot(1,1,1); x = [1,1,1,1]; % % a) DTFT w = [0:1:500]*2*pi/500; [H] = freqz(x,1,w); magH = abs(H); phaH = angle(H); phaH(126)=-47.5841*pi

program_01_01.m

% 生成三个正弦函数并计算其幅度谱 N=120; % 采样点数 fs=400; % 采样频率 n=1:N; % 离散时间 % 三个正弦函数和 x1=sin(2*pi*50*n/fs);x2=sin(2*pi*100*n/fs);x3=sin(2*pi*150*n/fs);x=x1+x2+x3; % 时域波形显示 figure(1);plot(n/fs,x);xlabe

exa5_16.m

%----------------------------------------------------------------------------- % exa060402_fresam2.m , for example 6.4.2 % use frequency sampling method 2 to design bandpass digital filter %-------

exa5_26.m

%-------------------------------------------------------------------------- % exa060609_cremez.m, for example 6.6.9; % to test cremez and to design allpass FIR filter; %--------------------------

exa5_15.m

%----------------------------------------------------------------------------- % exa060401_fresam1.m , for example 6.4.1 % use frequency sampling method 1 to design highpass digital filter %-------

exa6_23.m

%exa060402_peig.m, for example 6.4.2 %to test peig.m; clear all; %信号序列产生; randn('state',1); N=1000; %采样点数 n=0:N-1; en=randn(1,N); xn=exp(j*pi/2*n)+2*exp(j*pi/4*n)+exp(j*pi/3*n)+en; %

exa6_5.m

% exa060201_corrcoef.m, % to test corrcoef.m ; clear all; N=256; f=.1;a1=5;a2=3; x=a1*sin(2*pi*f*(0:N-1))+2*randn(1,N); y=a2*sin(2*pi*f*(0:N-1))+randn(1,N); % 求数据向量 x 和 y 的相关系数矩阵

exa6_22.m

%exa060401_MUSIC.m, for example 6.4.1 %to test MUSIC.m; clear all; %信号序列产生; randn('state',1); N=1000; %采样点数 n=0:N-1; en=randn(1,N); xn=exp(j*pi/2*n)+2*exp(j*pi/4*n)+exp(j*pi/3*n)+en;

exa1_34.m

% exa1-34_rectpuls.m for example 1-34 % rectpuls function clear all; fs=100; %sample frequency x=0:1/fs:pi; w=3; y=rectpuls(x,w); plot(x,y) axis([0 pi 0 1.1])