代码搜索结果
找到约 10,000 项符合
Power 的代码
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
cursor.pin
-- Copyright (C) 1991-2007 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
global.bas
Attribute VB_Name = "global"
Public method As String
Public user_id As String
Public pwd As String
Public database As String
Public servername As String
Public bordercolorlight As String
Public
alltest.pin
-- Copyright (C) 1991-2007 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
img.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
ssj_reqi.m
% Use this input file to excite function "ssj_req"
clear all
pt = 50.0e+3; % peak power in Watts
g = 35.0; % antenna gain in dB
freq = 5.6e+9; % radar operating frequency in Hz
sigma =
vardef.h
/*************** XXXXXX CONFIDENTIAL ****************/
/*************** ****************/
/*************** Description : Variables declVarat
seg7_b.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