代码搜索结果
找到约 10,000 项符合
Power 的代码
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
code187a.txt
Public Sub Main()
Dim Power As Integer, Result As Integer
For Power = -2 to 2
Debug.Print "10 raised to ; Power ; "is", 10.0 ^ Power
Next
On Error Goto ErrorFlag
Result = 2 ^ 6
twt_data1.m
% File: twt_data1.m
% Software given here is to accompany the textbook: W.H. Tranter,
% K.S. Shanmugan, T.S. Rappaport, and K.S. Kosbar, Principles of
% Communication Systems Simulation with Wire
controller.pin
-- Copyright (C) 1991-2006 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
fenwei.pin
-- Copyright (C) 1991-2006 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
display.pin
-- Copyright (C) 1991-2006 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
decoder_display.pin
-- Copyright (C) 1991-2006 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
mux6_1.pin
-- Copyright (C) 1991-2006 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
clock.pin
-- Copyright (C) 1991-2006 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