代码搜索:sequence
找到约 10,000 项符合「sequence」的源代码
代码结果 10,000
www.eeworm.com/read/448259/7535842
m exa1_16.m
% exa1-16_sine_d.m for example 1-16
% sine sequence
clear all;
N=32;
A=3;
f=100;
fai=1.2;
xn=0:N-1;
x=A*sin(2*pi*f*(xn/N)+fai);
stem(xn,x)
axis([-1 32 -3.2 3.2])
www.eeworm.com/read/446971/7562021
c alg41.c
#include
#include
#include
/*
original element sequence:
0 1 1 2 3 5 8 13 21 34
sequence after applying replace_if < 10 with 0:
0 0 0 0 0 0 0 13
www.eeworm.com/read/445830/7589520
m mula_pcm.m
function [sqnr,a_quan,code]=mula_pcm(a,n,mu)
%MULA_PCM mu-law PCM encoding of a sequence
% [SQNR,A_QUAN,CODE]=MULA_PCM(A,N,MU).
% a=input sequence.
% n=number of quantization
www.eeworm.com/read/443411/7633395
lst app.lst
C51 COMPILER V8.02 APP 09/21/2006 20:16:29 PAGE 1
C51 COMPILER V8.02, COMPILATION OF MODULE APP
OBJECT MODULE PLACED IN App
www.eeworm.com/read/442927/7641768
m plot3dproj.m
function plot2dProj(DS)
%plotClassVsFeature: Plot of class vs. feature
% Roger Jang, 20041209
if nargin == 0, selfdemo; return, end
[featureNum, dataNum]=size(DS.input);
distinctClass = ele
www.eeworm.com/read/442927/7641969
m plot2dproj.m
function plot2dProj(DS)
%plotClassVsFeature: Plot of class vs. feature
% Roger Jang, 20041209
if nargin == 0, selfdemo; return, end
[featureNum, dataNum]=size(DS.input);
distinctClass = ele
www.eeworm.com/read/442852/7643448
m main_mackeyglass.m
%Mackey-Glass方程最初是由Mackey和Glass提出的. 它是一个高维的动力学方程,
%常常用于非线性时间序列预测问题,作为检测预测模型预测性能的标准, 其形式为
%dx/dt=-b*x(t)+a*x(t-TAU)/(1+x^10*(t-TAU));
%a=0.2,b=0.1,TAU=17 or 30
% Create "mild" Mackey-Glass sequenc
www.eeworm.com/read/442447/7651405
m mula_pcm.m
function [sqnr,a_quan,code]=mula_pcm(a,n,mu)
%MULA_PCM mu-law PCM encoding of a sequence
% [SQNR,A_QUAN,CODE]=MULA_PCM(A,N,MU).
% a=input sequence.
% n=number of quantization
www.eeworm.com/read/440289/7690993
m p203.m
clear; clc;
% P2.3b
n = -20:20;
x = cos (0.3*pi*n); % Periodic Sequence T = 20/3
subplot(2,1,1); plot(n,x,'ko-');title('cos(0.3\pin)');xlabel('n');
% P2.3c
x = cos (0.3*n); %
www.eeworm.com/read/440289/7691006
m p201.m
% P2.1a
n = [0:25];
x1 = zeros(1,26);
for m=0:10,
x1 = x1 + (m-1).*(impseq(2.*m,0,25)-impseq(2.*m+1,0,25));
end
subplot(3,2,1);
stem(n,x1);
title('Sequence in Problem 2.1a')
% P2.1b
n