代码搜索结果
找到约 2,916 项符合
Energy 的代码
energy.cc
/*************************************************************************
*
* This code was developed as part of the MIT SPIN project. (June, 1999)
*
*********************************************
energy.asm
;===============================================================
; File Name
; ----------
; ENERGY.ASM
;
; Brief Description of the Code:
; ------------------------------
; Find the lag t
energy.asm
;===============================================================
; File Name
; ----------
; ENERGY.ASM
;
; Brief Description of the Code:
; ------------------------------
; Find the lag t
energy.m
% function [x1,x2]=vad(x)
[x,Fs,bits] = wavread('one')
specgram(x,240,8000,80);
x=double(x);
x=x/max(abs(x));%将幅度归一化到[-1,1]
framelen=240;
frameinc=80;%设定帧长为240帧移为80
amp1=10;
amp2=2;
zcr1=
energy.h
// Energy.h: interface for the Energy class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_ENERGY_H__3AC4BC5A_E84F_4623_8B6F_40168A18CB89__INCLUDED_)
energy.m
%计算能量函数
function [Em,Ep]=Energy(d,v,n);
Em=0;Ep=0;
% dis_wave=0;
tmp=0;em=0;ep=0;A=500;B=500;D=500;C=200;
for xk=1:n
for k=1:n
fo
energy.m
clear;
N=100;
M=100;
for i=1:N
x(i)=rand(1)*M;
y(i)=rand(1)*M;
end
x(1)=M*0.95;y(1)=M*0.95;
%plot(x,y,'o',x(1),y(1),'p');
for i=1:N
str=num2str(i);
% text(x(i)-2,y(i)-2,str);
energy.asv
clear;
N=100;
M=100;
for i=1:N
x(i)=rand(1)*M;
y(i)=rand(1)*M;
end
x(1)=M*0.95;y(1)=M*0.95;
%plot(x,y,'o',x(1),y(1),'p');
for i=1:N
str=num2str(i);
% text(x(i)-2,y(i)-2,str);
energy.m
%函数energy.m: 能量集中%
function rec_error=energy(image,type,N) %type: 变换方式(DCT or DFT)
%type = 1: DCT