代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
hubpi.h
/*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Derived from IRIX
hubpi.h
/*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Derived from IRIX
hubpi.h
/*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Derived from IRIX
dangle.m
function phi = dAngle(a,b)
d = a-b;
phi = mod(d,2*pi);
if phi > pi
phi = 2*pi-phi;
end
rand.h
#ifndef ( _RANDOM_H_ )
#define _RANDOM_H_
const double _2PI = 6.2831853; //2pi
#endif
fig6_25.m .txt
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Figure 6.25
% K. Bell 3/10/01, 11/12/01
% function called: sinc
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
clear all
close all
%************************
% Array
%
c8_11.m
n=1:1024;
theta=(4*pi*n)/1024;
xn=sin(theta);
y1n=5*sin(theta);
y2n=5*sin(theta-pi/2-pi/512);
s1=corrcoef(xn,y1n);
s2=corrcoef(xn,y2n);
snr1=(s1.^2)/(1-s1.^2)
snr2=(s2.^2)/(1-s2.^2)
e0319.asv
a=0;b=2*pi;n=1000;h=(b-a)/n;
x=a:h:b;
f=cos(x-pi/6).*sin(x+pi/6);
for i=1:n
s(i)=(f(i)+f(i+1)).*h/2;
end
s=sum(s)
fig6_25.m
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Figure 6.25
% K. Bell 3/10/01, 11/12/01
% function called: sinc
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
clear all
close all
%************************
% Array
%
e0319.asv
a=0;b=2*pi;n=1000;h=(b-a)/n;
x=a:h:b;
f=cos(x-pi/6).*sin(x+pi/6);
for i=1:n
s(i)=(f(i)+f(i+1)).*h/2;
end
s=sum(s)