代码搜索结果
找到约 25,001 项符合
Power 的代码
full_tdlms.m
function [e,w] = full_tdlms(x,d,N,w0,mu,lambda,epsilon)
%[e,w] = full_tdlms(x,d,N,w0,mu,lambda,epsilon) implements the full-update
%transform-domain LMS algorithm using DCT and single-division power
spower.m
function p=spower(x)
% p=spower(x)
%SPOWER returns the power in signal x
p=(norm(x)^2)/length(x);
spower.m
function p=spower(x)
% p=spower(x)
%SPOWER Returns the power in signal x
p=(norm(x)^2)/length(x);
program_15_4.m
% Program 15_4
% Power Spectrum Estimation Using Welch's Method
%
n = 0:1000;
g = 2*sin(0.12*pi*n) + sin(0.28*pi*n) + randn(size(n));
nfft = input('Type in the fft size = ');
window = hamming(25
haar_1d.m
function [Y] = haar_1D(X)
% Computes the Haar transform of the input vector X
% The length of X must be a power-of-2
% Recursively builds the Haar matrix H
v = log2(length(X)) - 1;
H = [1 1;1 -1]
power.asm
*********************************************************************************
* (C) COPYRIGHT TEXAS INSTRUMENTS, INC. 1996 *
**********************************
untitled.m
% Power control for wireless cellular network
% Foschini-Miljinic Alg.
clc;
clear all;
close all;
% Number of users
N = 10;
P_MAX = 2; % Maximum allowable power
P_MIN = 0;
sinr_tar = 10;
1487.cpp
/* This Code is Submitted by wywcgs for Problem 1487 on 2006-08-02 at 10:48:09 */
#include
#include
const int MAX = 128;
int power[MAX];
bool ship[MAX][MAX];
int max;
1221.cpp
/* This Code is Submitted by wywcgs for Problem 1221 on 2005-10-03 at 00:28:10 */
#include
#include
int main()
{
double power;
long long total, r;
int p, sign, i;
wbdist.m
function x = WBDist(x0,alpha,beta,n)
format long;
x = zeros(n,1);
for i=1:n
r = MixMOD(x0,10,1);
k = 0;
while r(10) == 0
k = k + 1;
r(10) = power(2,k);
r