代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
exa100800_corrcoef.m
%------------------------------------------------------------------------
% exa100800_corrcoef.m,
% to test corrcoef.m ;
%------------------------------------------------------------------------
test butter.m.m
%-----------------------------------------------------------------------------
% exa060701_3.m , for example 6.7.1 and 6.5.1
% to test butter.m
%---------------------------------------------------
2_2.cpp
#include
#define PI 3.1415926
#define R 30.85
main()
{
float area;
area=PI*R*R;
printf("Area=%f\n",area);
}
9_7.cpp
#include
#define LEN 1
#ifdef LEN
#define PI 3.1415926
#else
#define PI 3.14
#endif
main()
{
float r=3.65,area;
area=PI*r*r;
printf("area=%f\n",area);
}
9_6.cpp
#include
#include "f2.c"
main()
{
float r=3.0,area;
area=PI*r*r;
PR(F,area);
}
/* build a header file f2.c
#define PI 3.1415926
#define PR printf
#define F "%f\n" *
chapter93.m
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
% 程序功能:四个输入信号,八单元均匀圆阵的波达方向估计和波束形成 %
% 程序员:王浩 harvey %
% 日期:20071018
gaussian.c
#include
#define pi 3.1415
double
gaussian(double x)
{
double resu;
resu=-0.5*x*x;
resu=exp(resu);
resu=resu/sq
exa011004_sinc.m
%-----------------------------------------------------------------
% exa011004_sinc.m, for example 1.10.4
% to generate the sinc function.
% 产生一 sinc 函数;
%-----------------------
phispan.m
function T=phispan(x,phitype,dilation,uo,a,bord1,bord2,Family,par);
% USAGE T=phispan(x,phitype,dilation,uo,a,bord1,bord2)
%
% This function returns a matrix Tij that contains elements
% \phi_
lowpass_fir.m
clear;close all;
N=4;
wc=pi/5; %理想低通滤波器参数
n=0:N-1;r=(N-1)/2;
hdn=sin(wc*(n-r))/pi./(n-r); %计算理想低通单位脉冲响应
if rem(N,2)~=0 hdn(r+1)=wc/pi;end %N为奇数时,处理n=r点的0/0型
wn1=b