代码搜索结果

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

fig5_14.m

% % fig5_14.m - M-file for creating Figure 5-14 % M = 8; % M=8 L = 2*M+1; % window length wn = [ones(1,L)]; % rectangular window omega = -pi:2*pi/200

exam5_8.m

% % exam5_8.m - M-file for Example 5-8 % omegac = 0.4; % cutoff frequency L = 61; % filter order L = 61 M = (L-1)/2; % M l = 0:2*M; % coefficient index l h = omegac/pi*sinc(omegac*

exam5_7.m

% % exam5_7.m - M-file for Example 5-7 % omegac = 0.4; % cutoff frequency L = 61; % filter order L = 61 M = (L-1)/2; % M l = 0:2*M; % coefficient index l h = omegac/pi*sinc(omegac*

shili05.m

function shili05 h0=figure('toolbar','none',... 'position',[200 150 450 250],... 'name','实例05'); t=0:pi/10:2*pi; [x,y]=meshgrid(t); subplot(2,2,1) plot(sin(t),cos(t)) axis equal sub

shili06.m

function shili06 h0=figure('toolbar','none',... 'position',[200 150 450 400],... 'name','实例06'); t=0:pi/10:2*pi; h=plot(t,sin(t)); xlabel('t=0到2\pi','fontsize',16); ylabel('sin(t)','fon

sample.c

/* * Example program * * Copyright (c) 1988-1997 Shamus Software Ltd. */ #include #include "miracl.h" int main() { /* Brents example program */ flash x,pi; mira

tcmcode.m

snr=10; N=input('number'); %数据长度 Es=3; g=[1 0 1;0 0 1]; %卷积码编码器两路的冲激响应 x=round(rand(1,N)); %产生信源 for i=1:N/2; %串并变换 x1(i)=x(2*i-1); x2(i)=x(2*i); end; z=cnvc(g,x1,x2); %进行(3,2,3)卷积码编码

ex050800.m

% Chapter 05: Example 05.08: HiRes Spectrum % % High resolution spectrum based on 100 samples of the signal x(n) subplot(1,1,1) n=[0:1:99]; x=cos(0.48*pi*n)+cos(0.52*pi*n); subplot(2,1,1);stem(n

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