代码搜索结果
找到约 10,000 项符合
Power 的代码
ifft1.java
//IFFT1.java
/*
程序说明:
程序修改:
最后修改时间:2008-11
作者:朱磊
*/
public class IFFT1 {
// 付立叶变换点数
int count;
int power;
Complex[] x;
Complex[] fd;
FFT1
top.txt
Atmel Pof2jed Version 4.45 Jan 10 2005
Copyright 1998 Atmel Corporation. All Rights Reserved.
EPM7064SLC44-10 --> 1504asPLCC44
Input file : D:\cpld\top.pof
Output file
ch03.02.c
// #include
#include
/**
** 2 raised to the power of 10: 1024
**/
int main()
{
int value = 2;
int pow = 10;
cout
reactive.m
% this M-file computes the reactive power
%injection at the generator buses for each singular point...
%for the Loparo's five bus system
%reactive power injection at gen1
gen1=14.4-(12)*XX_sin
vga.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
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(