代码搜索结果

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

ex5_13.m

x=0:pi/10:2*pi; y=2*sin(x); subplot(2,2,1);bar(x,y,'g'); title('bar(x,y,''g'')');axis([0,7,-2,2]); subplot(2,2,2);stairs(x,y,'b'); title('stairs(x,y,''b'')');axis([0,7,-2,2]); subplot(2,2,3);ste

ex10_2.m

x=0:pi/50:2*pi; y=sin(x); z=cos(x); plot(x,y,'r',x,z,'g'); %绘制两根不同曲线 Hl=get(gca,'Children'); %获取两曲线句柄向量Hl for k=1:size(Hl) if get(Hl(k),'Color')==[0 1 0] %[0 1 0]代表

ex5_5.m

x=0:pi/100:2*pi; y1=0.2*exp(-0.5*x).*cos(4*pi*x); plot(x,y1) hold on y2=2*exp(-0.5*x).*cos(pi*x); plot(x,y2); hold off

testphaseencoder.m

Bits = [0 1 2 3 4 5 6 7]; Angles = 0:pi/4:2*pi; ss = round(rand(5,1)*7); [I,Q] = PhaseEncoder(ss,Bits,Angles); ssRx = PhaseDecoder(I,Q,Bits,Angles); plot(I,Q,'*');

phasemap.m

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%% CalcPhase - function %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

ch8example7prog1.m

% ch8example7prog1.m % 泊松分布随机数的产生和皮尔逊检验 clear; lambda=4; % 参数 N=1000; % 产生非随机数样本个数 for n=1:N i=0; v=1; % 初始化 while(1) x=rand; % [0,1]均匀随机数发生

13kfft0.c

#include "stdio.h" #include "13kfft.c" #include "math.h" main() { int i,j; double pr[64],pi[64],fr[64],fi[64]; for (i=0; i

constel.m

function c=constel (x, fs, fb, fc); % % usage: ph=phdet (x, fs, fc); BBI2000 if nargin

constel.asv

function c=constel (x, fs, fb, fc); % %usage: ph=phdet x(x, fs, fc); BBI2000 if nargin

滤波.txt

f=100; %取样频率 N=1024; %总点数 Ts=1/f; %取样间隔 T=Ts*N; %取样总时间 n=0:N-1; t=n*Ts; x1=cos(pi*t); x2=cos(9*pi*t); x3=x1.*x2; subplot(511),plot(x1);% 绘出调制信号 grid