代码搜索结果
找到约 2,916 项符合
Energy 的代码
example61.m
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% 初始化
%
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%v=[0 0 0];
program_12_10.m
% 当前的延拓模式是补零
% 产生原始信号
x = randn(1,200);
% 计算x的shannon熵
e1 = wentropy(x,'shannon')
% 计算x的对数能量熵
e2 = wentropy(x,'log energy')
% 计算x的阈值熵,阈值取为0.2
e3 = wentropy(x,'threshold',0.2)
% 计算x的“sure”熵,阈值
rs485.h
#include "defineh.h"
/*------------------------------------------*/
#define pagedown 0x0f
#define pageup 0xf0
#define cancel 0xaa
#define confirm 0x55
#define exit
margtfr.m
function [margt,margf,E]=margtfr(tfr,t,f)
%MARGTFR Marginals and energy of a time-frequency representation.
% [MARGT,MARGF,E]=MARGTFR(TFR,T,F) calculates the time and
% frequency marginals and the en
margtfr.m
function [margt,margf,E]=margtfr(tfr,t,f)
%MARGTFR Marginals and energy of a time-frequency representation.
% [MARGT,MARGF,E]=MARGTFR(TFR,T,F) calculates the time and
% frequency marginals and the en
margtfr.m
function [margt,margf,E]=margtfr(tfr,t,f)
%MARGTFR Marginals and energy of a time-frequency representation.
% [MARGT,MARGF,E]=MARGTFR(TFR,T,F) calculates the time and
% frequency marginals and the en
gpdist.h
/*====================================================================
GPDIST.H
A class which accepts a particle and maintains a space and
velocity distribution. Meant to be used in boundaries wi
main.cpp
#include "mpi.h"
#include
#include //for the random number generator
#include
#include
#include
#include "printvector.h"
#include "material.h"
#include
particle.h
#ifndef PARTICLE_H
#define PARTICLE_H
#include
/* Particle data type. */
typedef struct particle_s {
double x,y; /* coordinates of the particle */
double energy; /*
particle.h
#ifndef PARTICLE_H
#define PARTICLE_H
#include
/* Particle data type. */
typedef struct particle_s {
double x,y; /* coordinates of the particle */
double energy; /* velocit