代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
4-1.m
%例程4-1 利用冲激响应不变法设计数字低通滤波器
%利用模拟巴特沃斯滤波器设计数字低通滤波器
%冲激响应不变法
wp=0.2*pi;
ws=0.3*pi;
Rp=1;
As=15;
T=1;
%性能指标
Rip=10^(-Rp/20);
Atn=10^(-As/20);
OmgP=wp*T;
OmgS=ws*T;
[N,OmgC]=buttord(OmgP,Omg
5-12.m
%例程5-12 利用特征向量法估计功率谱
% e.g.5-12.m for example5-12;
% to test function peig;
clf;
clear all;
% Generate the signal plus white noise and show
N=1024; % number of sampling dat
beam.m
N=8;
n=[-(N-1)/2 : (N-1)/2]';
us=0;
u1=0.4,u2=-0.6;
Vs=exp(-j*pi*us*n);
V1=exp(-j*pi*u1*n);
V2=exp(-j*pi*u2*n);
p=20,q1=10,q2=20;
SNR=10^(p/10);
INR1=10^(q1/10);
INR2=10^(q2/10);
Rx=SNR*Vs*
wave2test.m
x = cos((0:63)/64*2*pi);
[c,L] = wavedec(x,'haar',6);
plot(wrcoef('a',c,L,'haar',2));pause;
plot(wrcoef('d',c,L,'haar',2));
quanjuvalue.m
function QuanJuValue(speech)
%定义全局变量
global L1 L2 L3 L0 MA1 MA2 lspcb1 lspcb2 lspcb3 q_old rcAR1 rcAR2;
global b12 b30;
global T1 fraction1 T2 fraction2;
global Tr0 Tr1 Tr2 Tr3 Tr4;%Track 0-4
gtf10_11.m
%This program implement the LMS ALE, using Algorithm 2
%of Chapter 10 (Table 10.3).
%The input is the summation of a number of sine-waves,
%plus white noise.
%
%
%All parameters are specificall
gtf10_9b.m
%This program implement the LMS ALE, using Algorithm 2
%of Chapter 10 (Table 10.3).
%
%
%All parameters are specifically set to obtain Fig. 10.9b.
%The parameters may be changed to simulate other
c2cxrad2.mac
******************************************************************************
* FILE: c25cxrad2.mac --> macro file for radix 2 fft's based on 320c5x *
*
gonglvpu.m
clear;
close all;
x=[101 82 66 35 31 7 20 92 154 125 85 68 38 23 10 24 83 132 131 118 90 67 60 47 41 21 16 6 4 7 14 34 45 43 48 42 28 10 8 2 0 1 5 12 14 35 46 41 30 24 16 7 4 2 8 17 36 50 62 67 71 4
gaussian_pulse.m
%
%function p = pulse(t,tau)
%
function p = gaussian_pulse(A,t,alpha)
p = A*exp(-2*pi*(t/alpha).^2);
return