代码搜索结果
找到约 2,916 项符合
Energy 的代码
f7_4.m
%读入语音文件
fin=fopen('DR4_MLJH0_SX334.ADC','r');
x=fread(fin,'short');
fclose(fin);
%时域波形
figure(1);
plot(x,'LineWidth',2);
xlabel('时间 t');
ylabel('幅值 A');
%计算短时能量
N=length(x);
%%短时窗长
L=200
energytableinit.m
function energytable = EnergyTableInit(SNR,M);
% Inputs:
% subcar_gains : Subcarrier Gains
% M : max Constellation Size
% Gap : Gap of the system
% Noise : Noise Po
deo3s.m
function f=DEO3S(x)
% x 必须为行数据
% Discrete Energy Operator 3 Samples.
% 三点对称差分能量算子
% 使用传递函数法
% H(z)=z(1+2*z^-1+z^-2)/4;
Px=Phid(x);
Ns=length(Px);
w=2*pi*(-Ns/2:Ns/2)/Ns;
w=[w(1:Ns/2),w
f7_4.m
%读入语音文件
fin=fopen('DR4_MLJH0_SX334.ADC','r');
x=fread(fin,'short');
fclose(fin);
%时域波形
figure(1);
plot(x,'LineWidth',2);
xlabel('时间 t');
ylabel('幅值 A');
%计算短时能量
N=length(x);
%%短时窗长
L=200
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
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
simple.m
function simple
% SIMPLE solves Poisson equation with Dirichlet boundaray condition in a
% L-shaped domain with FEM using uniform mesh refinement.
%
% L. Chen & C. Zhang 10-16-2006
%---------------
si2.m
function Y = si2(x,a)
% SI2 Integral of [sin(at)/(at)]^2 .
%
% Y = SI2(X,A) Computes integral of [sin(At)/(At)]^2 over [0, X]
%
% SI2 (with no input arguments) invokes the following example:
energytableinit.m
function energytable = EnergyTableInit(SNR,M);
% Inputs:
% subcar_gains : Subcarrier Gains
% M : max Constellation Size
% Gap : Gap of the system
% Noise : Noise Po
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