代码搜索:sequence
找到约 10,000 项符合「sequence」的源代码
代码结果 10,000
www.eeworm.com/read/296430/8102996
c cdosum.c
#include "header.h"
void osum(char *filename)
{
const counter no_obs=10, no_sum=100, no_num=100;
const real mean=.5*no_num, rstd=sqrt(12);
counter i, j, k;
real *x, *y, *p, *pv, tmp, sum, a,
www.eeworm.com/read/196069/8116378
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/196069/8116381
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/196069/8116386
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/196069/8116747
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/296068/8125117
c callback.c
/*
** 2005 May 23
**
** The author disclaims copyright to this source code. In place of
** a legal notice, here is a blessing:
**
** May you do good and not evil.
** May you find forgiveness f
www.eeworm.com/read/145526/12716904
m exa031101_fftfilt.m
%----------------------------------------------------------------------------
% exa031001_fftfilt.m, for example 3.11.1
% to test fftfilt.m,and to finish the convolution of a long sequence with
%
www.eeworm.com/read/145393/12727151
h dummy_cam.h
/******************* Camera Interface ***********************/
/*@ spcaxxx_init
send the initialization sequence to the webcam
@*/
static int spcaxxx_init(struct usb_spca50x *spca50x);
/*@ spca
www.eeworm.com/read/331806/12807328
m cirshftt.m
function [y]=cirshftt(x,m,N)
%[y]=cirshftt(x,m,N)
%y=output sequence containing the circular shift
%x=input sequence of length
www.eeworm.com/read/331806/12807363
m b.m
l5=figure;
n=[0:50];
x=cos(0.04*pi*n) + 0.2*randn(size(n));
stem(n,x);title('Sequence in Example 3.1c');
xlabel('n'); ylabel('x(n)');axis([0,50,-1.4,1.4]);