代码搜索结果

找到约 36,166 项符合 Raspberry Pi 的代码

hr_type4.m

function [Hr,w,d,L]=Hr_Type4(h); M=length(h); L=M/2; d=2*[h(L:-1:1)]; n=[1:1:L];n=n-0.5; w=[0:1:500]'*pi/500; Hr=sin(w*n)*d';

example2_14.m

b=1; a=[1,-0.9]; figure(1); zplane(b,a); figure(2); [H,w]=freqz(b,a,100); magH=abs(H);phaH=angle(H); subplot(2,1,1);plot(w/pi,magH);grid; xlabel('freq');ylabel('amp'); subplot(2,1,2);plot(w/p

hr_type1.m

function [Hr,w,a,L]=Hr_Type1(h); M=length(h); L=(M-1)/2; a=[h(L+1) 2*h(L:-1:1)]; n=[0:1:L]; w=[0:1:500]'*pi/500; Hr=cos(w*n)*a';

hr_type2.m

function [Hr,w,b,L]=Hr_Type2(h); M=length(h); L=M/2; b=2*[h(L:-1:1)]; n=[1:1:L];n=n-0.5; w=[0:1:500]'*pi/500; Hr=cos(w*n)*b';

m_exam8.m

% example 8 x=linspace(0,2*pi,30); y=sin(x); z=cos(x); plot(x,y,'g:',x,z,'r-',x,y,'bo',x,z,'r+')

m_exam12.asv

% example 12 x=linspace(0,2*pi,30); y=sin(x); z=cos(x); a=2*sin(x).*cos(x); b=sin(x)./(cons(x)+eps); subplot(2,2,1)%选取4个子图中的左上 plot(x,y);axis([0 2*pi -1 1]),title('sin(x)'); subplot(2,2,2)%选取4

singlelpg.m

clear format long zhouqi=500e-6; dn=0.003; L=0.05; dz=L/100; T=[1;0]; bolongb=1550e-9; for bolong=1520e-9:0.1e-9:1580e-9; dneff=dn*cos(2*pi*

svdrx4.m

function p=RX4() N=8; K=100; p=10; I=eye(8); SNR=10^(p/10); s=sqrt(SNR/2)*randn(3,K)+j*sqrt(SNR/2)*rand(3,K); Xn=sqrt(1/2)*randn(N,K)+j*sqrt(1/2)*rand(N,K); n=[1:1:N]'; Vs1=exp(j*pi*sin(pi/9)

ip_07_07.m

% MATLAB script for Illustrative Problem 7.7. echo on Tb=1; f1=1000/Tb; f2=f1+1/Tb; phi=pi/4; N=5000; % number of samples t=0:Tb/(N-1):Tb; u1=cos(2*pi*f1*t); u2=cos(2*pi*f2*t); % Assu

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