代码搜索结果

找到约 10,000 项符合 Raspberry Pi 的代码

ex031000.m

n = -5:10; x = rand(1,length(n)) + j*rand(1,length(n)); k = -100:100; w = (pi/100)*k; % frequency between -pi and +pi X = x * (exp(-j*pi/100)).^(n'*k); % DTFT of x % conjugation property

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

ex081100.m

% Chapter 8: Example 8.11 % Impulse Invariance Transformation % Butterworth 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;

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 =

ex081300.m

% Chapter 8: Example 8.13 % Impulse Invariance Transformation % Chebyshev-2 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;

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 comp

ex1001.m

function ex1001() subplot(1,2,1),fplot('sin(x)/(pi*x)', [-3*pi,3*pi]); title('时域图') hold on; subplot(1,2,2),fplot('-heaviside(x-1)+heaviside(x+1)',[-3,3]); title('傅氏变换后的频域图'); axis([-3 3 0 1.5])

fzz.m

function [A0,A,B]=FZZ(func,T, n) syms t; func = subs(sym(func), findsym(sym(func)),sym('t')); A0=int(sym(func),t,-T/2,T/2)/T; for(k=1:n) A(k)=int(func*cos(2*pi*k*t/T), t,-T/2,T/2)*2/T; A