代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
exa060701_3.m
%-----------------------------------------------------------------------------
% exa060701_3.m , for example 6.7.1 and 6.5.1
% to test butter.m
%---------------------------------------------------
exa060701_2.m
%-----------------------------------------------------------------------------
% exa060701_2.m , for example 6.7.1 and 6.5.1
% to test buttord,lp2lp,bilinear ;
% to design Low-pass DF with s=2/Ts[(
exa100800_corrcoef.m
%------------------------------------------------------------------------
% exa100800_corrcoef.m,
% to test corrcoef.m ;
%------------------------------------------------------------------------
lijian.m
n=1:1024;
x=cos(0.1*2*pi*n);
%tfrsp(x');
%tfrwv(x');
%tfrpwv(x');
tfrcw(x')
%tfrspwv(x');
c2cxrad2.mac
******************************************************************************
* FILE: c25cxrad2.mac --> macro file for radix 2 fft's based on 320c5x *
*
2-5.c
#include
#define PI 3.1415926
int main( )
{
float r = 2.56;
float l, s;
l = 2*PI*r;
s = PI*r*r;
printf("l=%f\n", l);
printf("s=%f\n", s);
}
gaussian.txt
高斯噪声的源程序:
function[gsrv1,gsrv2]=gngauss(m,sgma)
if nargin==0,
m=0;sgma=1;
elseif nargin==1,
sgma=m;m=0;
end;
u=rand;
z=sgma*(sqrt(2*log(1/(1-u))));
u=rand;
gsrv1=m+z*cos(2*pi*u);
gsrv2
gngauss.m
function[gsrv1,gsrv2]=gngauss(m,sgma)
if nargin==0,
m=0;sgma=1;
elseif nargin==1,
sgma=m;m=0;
end;
u=rand;
z=sgma*(sqrt(2*log(1/(1-u))));
u=rand;
gsrv1=m+z*cos(2*pi*u);
gsrv2=m+z*sin(2*pi*
gamicheval.m
function [sol,val] = gaMichEval(sol,options)
val = 21.5 + sol(1) * sin(4*pi*sol(1)) + sol(2)*sin(20*pi*sol(2));
%G=zeros(0);
%val = sqrt(sol(1)) * sin(2*sol(1)) + sqrt(sol(1))*cos(5*sol(1))+5;
radar2.m
clear;
Lw=0.03;
B=60e6;
T=2e-6;
k=B/T;
fs=90e6;
t=-T/2:1/fs:T/2-1/fs;
RPF=60;
R=50e3;
v=100;
Ts=3;
t1=-Ts/2:1/RPF:Ts/2-1/RPF;
w=-fs*pi*2/2:fs*pi*2/256:fs*pi*2/2-fs*pi*2/256;
rt=(R*R+(v*t1