代码搜索:sequence
找到约 10,000 项符合「sequence」的源代码
代码结果 10,000
www.eeworm.com/read/299923/7820102
m ex020200.m
% Chapter 02: Example 02.02: Signal Synthesis
%
figure(1); clf
n = -2:10; x = [1:7,6:-1:1];
% a) x1(n) = 2*x(n-5) - 3*x(n+4)
[x11,n11] = sigshift(x,n,5); [x12,n12] = sigshift(x,n,-4);
[x1,n1] =
www.eeworm.com/read/299923/7820107
m ex020500.m
% Example 2.5
%
% x(n)=[u(n)=u(n-10]; h(n)=(0.9)^n*u(n)
% y(n)=10*(1-(0.9)^(n+1))*(u(n)-u(n-10))+
% (10*(1-(0.9)^10)*(0.9)^(n-9))*u(n-10)
n = -5:50;
u1 = stepseq(0,-5,50); u2=stepseq(10,-5
www.eeworm.com/read/299923/7820130
m ex021100.m
% Example 2.11
%
% x(n) = u(n)-u(n-10)
% h(n) = (0.9)^n * u(n)
% diff eqn: y(n) - 0.9y(n-1) = x(n)
%
b = [1]; a = [1,-0.9];
n = -5:50; x = stepseq(0,-5,50) - stepseq(10,-5,50);
y = filter(b,a,
www.eeworm.com/read/299923/7820408
m cirshftt.m
function y = cirshftt(x,m,N)
% Circular shift of m samples wrt size N in sequence x: (time domain)
% -------------------------------------------------------------------
% [y] = cirshftt(x,m,N)
% y
www.eeworm.com/read/199778/7822992
m program_10_2.m
% Program 10_2
% Illustration of Down-Sampling by an Integer Factor
%
clf;
N = input('Output length = ');
M = input('Down-sampling Factor = ');
fo = input('Input signal frequency = ');
% Genera
www.eeworm.com/read/199774/7823167
m program_02_7.m
% Program 2_7
% Computation of cross-correlation sequence
%
colordef black;
x = input('Type in the reference sequence = ');
y = input('Type in the second sequence = ');
% Compute the correlation
www.eeworm.com/read/199774/7823169
m program_03_06.m
% Program 3_6
% Illustration of Overlap-Add Method
%
% Generate the noise sequence
colordef black;
R = 64;
d = rand(R,1)-0.5;
% Generate the uncorrupted sequence and add noise
for m = 1:1:R;
www.eeworm.com/read/199774/7823210
m program_10_1.m
% Program 10_1
% Illustration of Up-Sampling by an Integer Factor
%
clf;
N = input('Input length = ');
L = input('Up-sampling Factor = ');
fo = input('Input signal frequency = ');
% Generate t
www.eeworm.com/read/199774/7823220
m program_10_2.m
% Program 10_2
% Illustration of Down-Sampling by an Integer Factor
%
clf;
N = input('Output length = ');
M = input('Down-sampling Factor = ');
fo = input('Input signal frequency = ');
% Genera
www.eeworm.com/read/199774/7823272
m program_03_05.m
% Program 3_5
% Linear Convolution Via the DFT
%
% Read in the two sequences
colordef black;
x = input('Type in the first sequence = ');
h = input('Type in the second sequence = ');
% Determi