代码搜索结果
找到约 2,276 项符合
Energy 的代码
graphcutview.cpp
// GraphCutView.cpp : implementation of the CGraphCutView class
//
#include "stdafx.h"
#include "GraphCut.h"
#include "GraphCutDoc.h"
#include "GraphCutView.h"
#include "Energy.h"
#ifde
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
display_energy1.m
plot(interval,total_energy(:,1)./total_rpack(:,1),'d-');
%axis([30*S_size,P_size_max*S_size,0,10]);
xlabel('interval');
%xlabel('queue size');
ylabel('energy');
title('energy vs interval');
lege
cwpt2_test.m
i=double(imread('lenna512.pgm'));
imax = max(max(i));
% checking energy...
disp(sprintf('Initial energy = %.10g', sum(sum(i.^2)) ));
all_filter_types = {'spline', '7-9'};
for iter_filter_type = 1:2
sigmerge.m
function sig=sigmerge(x1,x2,ratio);
%SIGMERGE Add two signals with given energy ratio in dB.
% SIG=SIGMERGE(X1,X2,RATIO) adds two signals so that a given
% energy ratio expressed in deciBels is satisf
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
sigmerge.m
function sig=sigmerge(x1,x2,ratio);
%SIGMERGE Add two signals with given energy ratio in dB.
% SIG=SIGMERGE(X1,X2,RATIO) adds two signals so that a given
% energy ratio expressed in deciBels is satisf
cp0201_waveform.m
%
% FUNCTION 2.5 : "cp0201_waveform"
%
% Generates the energy normalized pulse waveform
%
% Special case of the second derivative Gaussian pulse:
% SCHOLTZ'S MONOCYCLE
%
% ********************
例程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”熵,阈值