代码搜索结果
找到约 2,276 项符合
Energy 的代码
energy.c
/*
$Log: energy.c,v $
Revision 1.1 2004/05/04 11:16:42 csoutheren
Initial version
Revision 1.2 2002/02/15 03:57:55 yurik
Warnings removed during compilation, patch courtesy of Jehan Bing,
ns-energy-resource.tcl
# Energy Resource
# Note: energyLevel_ is measured in Joules
Resource/Energy instproc setParams {args} {
$self instvar energyLevel_ alarmLevel_
set energyLevel_ [lindex $args 0]
set alarm
energy.c
/*
$Log: energy.c,v $
Revision 1.1 2004/05/04 11:16:42 csoutheren
Initial version
Revision 1.2 2002/02/15 03:57:55 yurik
Warnings removed during compilation, patch courtesy of Jehan Bing,
energy.f,v
head 1.3;
access;
symbols;
locks; strict;
comment @* @;
1.3
date 96.03.18.21.17.41; author jaf; state Exp;
branches;
next 1.2;
1.2
date 96.03.13.16.46.02; author jaf; state Exp;
branches;
next 1.1;
energy.c,v
head 1.1;
access;
symbols;
locks; strict;
comment @ * @;
1.1
date 96.08.19.22.32.17; author jaf; state Exp;
branches;
next ;
desc
@@
1.1
log
@Initial revision
@
text
@/*
$Log$
*/
#ifdef P_R_O
nap.maple
# Neuron activation probability
# where T is the amount of thermal noise in
# the system, and a is the energy level
# of the neuron.
p := proc (t,a)
RETURN( 1/(1+(E^(-(a/t)))))
end;
bethe_free_energy.m
function loglik = bethe_free_energy(engine, evidence)
% BETHE_FREE_ENERGY Compute Bethe free energy approximation to the log likelihood
% loglik = bethe_free_energy(engine, evidence)
%
% The Bethe
lpc_1a.m
function [cofa,rc1,energy,residue]= lpc_1a(sso,norder);
% Linear prediction (corvariance method),
% fixed order (=13).
% Input == Speech Signal
% Output ==
% cofa : AR cofficients
% rc1 : fir
class.m
function [Vtype]=class(energy, zcr)
nframe=length(energy);
emean=mean(energy);
zmean=mean(zcr);
for i=1:nframe,
if energy(i) > 0.3*emean & zcr(i) < zmean
Vtype(i)=1;
elseif zcr(i) > 0.3
ti_e_zcr.m
%
% Callback function for Energy and ZCR button in the Time Analysis window
% Author Karthik
clear energy;
clear zcr;
% Set position and size of analysis window
PV=[270 44 515 268];
s2