代码搜索结果
找到约 10,000 项符合
Power 的代码
top.pin
-- Copyright (C) 1991-2004 Altera Corporation
-- Any megafunction design, and related netlist (encrypted or decrypted),
-- support information, device programming or simulation file, and a
i2c_master_top.pin
-- Copyright (C) 1991-2005 Altera Corporation
-- Your use of Altera Corporation's design tools, logic functions
-- and other software and tools, and its AMPP partner logic
-- functions, and a
snr_pte.m
% SNR_PTE computes the subband SNR for Per Tone equalizers
% [snr, Px, Pv] = snr_pte(X, Xhat , usedSubs) returns the
% subchannel SNR in SNR, signal power in Px, and noise power
% in Pv.
% X is
机器人.h
#include
#define uint unsigned int
#define uchar unsigned char
sbit LMP=P0^0; //左边电机使能 (LEFT MOTOR POWER)
sbit LMD=P0^1; //左边电机方向 (LEFT MOTOR DIRECTION)
sbit RMP=P0^
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
relaydist.m
function x = RelayDist(x0,sigma,n)
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 = MixMOD(r(10),2
mulmod1.m
function r = MulMOD1(L,alpha,beta,n)
r = zeros(n,1);
x = zeros(n,1);
M = power(2,L);
a = 8*alpha + 5;
x(1) = 4*beta + 1;
r(1) = x(1)/M;
for i=2:n
y = a*x(i-1);
x(i) = mod(y,M);
laplacedist.m
function x = LaplaceDist(x0,x1,beta,n)
x = zeros(n,1);
for i=1:n
r = MixMOD(x0,10,1);
u = MixMOD(x1,10,2);
k = 0;
while (r(10) == 0 || u(10) == 0)
k = k + 1;
r(
mixmod.m
function r = MixMOD(x0,n,type)
format long;
M1 = power(2,31);
M2 = power(2,35);
a1 = 314159269;
a2 = power(5,15);
c1 = 453806245;
c2 = 1;
r = zeros(n,1);
x = zeros(n+1,1);
x(1) = x0;
if t
watch.pin
-- Copyright (C) 1991-2008 Altera Corporation
-- Your use of Altera Corporation's design tools, logic functions
-- and other software and tools, and its AMPP partner logic
-- functions, and a