代码搜索:Raspberry Pi

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

代码结果 10,000
www.eeworm.com/read/362213/10012425

m ex6_13.m

% Example 6.13 w = -300:300; S = .1*sinc(.1*w/2/pi).*exp(-.05*j*w); subplot(221),plot(w,abs(S)) axis([-300 300 0 .1]) xlabel('\omega') ylabel('Magnitude') subplot(223),plot(w,angle(S)*180/pi)
www.eeworm.com/read/362213/10012503

m ex12_1.m

% Example 12.1 % numd = 0.0302*[1 2 1]; dend = [1 -1.4514 .5724]; w = -pi:2*pi/300:pi; H = freqz(numd,dend,w); plot(w,abs(H)) axis([-pi pi 0 1]) title('Figure 12.6') ylabel('|Hd|') xlabel('\
www.eeworm.com/read/362213/10012550

m ex12_5.m

% Example 12.5 % N = 2; % number of poles Rp = 3; % passband ripple T = .2; % sampling period wc = 2; % analog cutoff frequency Omegac = wc*T/pi; % normalized digital cutoff frequenc
www.eeworm.com/read/362213/10012557

m fig12_13.m

% Figure 12.13 % N = 10; Omega = -pi:2*pi/300:pi; Omega = Omega + (Omega==0)*eps; % replaces Omega = 0 with eps W = sin(Omega*(N)/2).*exp(-j*Omega*(N-1)/2)./sin(Omega/2); plot(Omega,abs(W)); axis([-
www.eeworm.com/read/362213/10012570

m ex11_25.m

% Example 11.25 % num = [0 1]; den = [1 -.5]; OMEGA = -pi:pi/150:pi; H = freqz(num,den,OMEGA); clf % clears current figure subplot(211),plot(OMEGA,abs(H)); % The figure in the text was genera
www.eeworm.com/read/362213/10012573

m fig12_21.m

% Figure 12.21 % clf N = 20; w1 = ones(1,N+1); % rectangular window w3 = hamming(N+1); w2 = [0; hanning(N-1); 0]; % to correspond to our def. % plot frequency response Omega = -pi:2*pi/1000:pi;
www.eeworm.com/read/362213/10012593

m ex5_4.m

% Example 5.4 t = -3:6/800:3; w0 = pi; k=1:50; % first plot the amplitude spectrum for x and for y ckx = sin(k*pi/2)./k/pi; ckx = [ckx(length(ckx):-1:1), .5, ckx]; k = -50:50; clf subplot(21
www.eeworm.com/read/362213/10012597

m fig4_7.m

% Figure 4.7 % Computes the frequency spectra for the pulse train c0 = 0.5; w0 = pi; k = -9:9; magck = [1/pi 0 1/pi/3 0 1/pi/5 0 1/pi/7 0 1/pi/9]; magck = [magck(9:-1:1) c0 magck]; angck =
www.eeworm.com/read/362213/10012682

m ex12_2.m

% Example 12.2 % T = .2; wc = 2; wp = 2/T*tan(wc*T/2); K = T^2/4*wp^2; dend =[(1+wp*T/sqrt(2)+T^2*wp^2/4) (T^2*wp^2/2-2) (1-wp*T/sqrt(2)+T^2*wp^2/4)]; K = K/dend(1) numd = K*[1 2 1] dend = den
www.eeworm.com/read/362213/10012686

m ex12_10.m

% Example 12.10 % Omegac = .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 h = sin(Omegac*(n_m))/pi./(n_