代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
ex081300.m
% Chapter 8: Example 8.13
% Impulse Invariance Transformation
% Chebyshev-2 Lowpass Filter Design
%
% Digital Filter Specifications:
wp = 0.2*pi; %
ex082900.m
% Chapter 8: Example 8.29
% Elliptic Bandpass Filter Design:
% Use of the ELLIP function
%
% Digital Filter Specifications: % Type: Elliptic Bandpass
ws = [0.3*pi 0.75
ex081100.m
% Chapter 8: Example 8.11
% Impulse Invariance Transformation
% Butterworth Lowpass Filter Design
%
% Digital Filter Specifications:
wp = 0.2*pi; %
ex081200.m
% Chapter 8: Example 8.12
% Impulse Invariance Transformation
% Chebyshev-1 Lowpass Filter Design
%
% Digital Filter Specifications:
wp = 0.2*pi; %
ex081400.m
% Chapter 8: Example 8.14
% Impulse Invariance Transformation
% Elliptic Lowpass Filter Design
%
% Digital Filter Specifications:
wp = 0.2*pi; % dig
ex082800.m
% Chapter 8: Example 8.28
% Chebyshev-1 Highpass Filter Design:
% Use of the CHEBY1 function
%
% Digital Filter Specifications: % Type: Chebyshev-I highpass
ws = 0.458
freqz_m.m
function [db,mag,pha,grd,w] = freqz_m(b,a);
% Modified version of freqz subroutine
% ------------------------------------
% [db,mag,pha,grd,w] = freqz_m(b,a);
% db = Relative magnitude in dB computed
main.m
function PI=main(s)
%
%2005.10.31
%load wtwo;
tic;
[dim,sample]=size(s);
B=8000;
N=sample/B;
%A=rand(dim);
%for p=2:80
for i=1:N
u=s(:,(i-1)*B+1:i*B);
x=rand(dim)*u;
y=NoMax
new_nag.m
function [y,PI] = new_nag()
%
%A natural gradient-based Algorithm for Blind Source Separation
%copyright 2005.4.14
%author:lucky zhang
%used to separate audio signal
%usage:[y,PI]=based_neg(x)
text1.m
function G=text()
%author lucky zhang
%2005.6.29
t=1:3000;
s(1,:)=sqrt(2)*sin(2*pi*t/97);
s(2,:)=0.2*square(2*pi*t/233);
s(3,:)=0.2*sin(2*pi*t/103).*cos(2*pi*t/277);
s(4,:)=sign(sin((2*pi*t/40)