代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
gaussfiltermatrix.m
function G = GaussFilterMatrix(g1,sigma)
x = 1:g1;
y = 1:g1;
c=ceil(g1/2);
for m = 1:g1
for n = 1:g1
G(m,n)=1/(2*pi*sigma^2)*exp((-(x(m)-c)^2 -(y(n)-c)^2)/(2*sigma^2));
end
end
test.m
clc;
clear;
clear all;
clf;
SN=40;
M=16;
N=1000;
t=linspace(0,100,N);
f0=5;
%d=2*sin(0.5*t);
phase=sin(0.25*pi)*cos(0.3*pi);
%d=exp(j*2*pi*f0*t+j*phase);
%d=real(d);
for k=1:N;%N
cfft32c.asm
;========================================================================
;
; File Name : cfft.asm
;
; Originator : Advanced Embeeded Control
; Texas Instruments Inc.
;
xlocale.cpp
// xlocale -- class locale exotic char member functions
#include
#include
_STD_BEGIN
typedef char_traits _Traits;
typedef istreambuf_iterator _Initer;
t
a_filter_design.m
% Design filter by specifying delay in units and
% looking at mag and phase response
% Good default values for fft_size = 128 and num_carriers = 32
delay_1 = 6; % 6
attenuation_1 = 0.35; %
辐射方向图2.m
clear;
clf;
J=1.5; % 相对介电常数 %
c=3*10.^8; % 光速 %
P=0.35; % 开槽周期 %
L=70; % 电缆总长 %
f=590*10.^6; % 工作频率 %
k0=2*pi*f/c;
jfk5.asv
clear;clc;clf;
t=(0:0.01:2*pi);
m=moviein(100);
for kL=1:100
z=(cos(kL.*cos(t).*(pi/50))-cos(kL).*(pi/50))./sin(t).*sign(t-pi);
polar(t,z);
title('对称天线的方向图');
axis tight;
m
jfk4121.m
clear;clc;clf;
t=(0:0.01:2*pi)
m=moviein(100);
for kL=1:100
z=(cos(kL.*cos(t).*(pi/50))-cos(kL).*(pi/50))./sin(t).*sign(t-pi);
polar(t,z);
axis tight;
title('对称天线的方向图');
m(
gaussian.c
#include
#define pi 3.1415
double
gaussian(double x)
{
double resu;
resu=-0.5*x*x;
resu=exp(resu);
resu=resu/sq
hc736.m
%《数字信号处理教程——MATLAB释义与实现》第七章例7.3.6程序hc736
% 用凯泽窗函数设计低通滤波器
% 电子工业出版社出版 陈怀琛编著 2004年9月
%
wp = 0.2*pi; ws = 0.3*pi; As = 50; % 给定指标
deltaf= (ws - wp)/(2*pi); % 过渡带宽Δf的计算
N0 = ceil((As-7.95)/(14.3