一個很好用的 lcd 時鐘程序 C語言 #include<reg51.h> #include<stdio.h> //定義計時器0 的重裝值 #define RELOAD_HIGH 0x3C #define RELOAD_LOW 0xD2 //定義按鍵彈跳時間 #define DB_VAL //定義設置模式的最大時間間隔 #define TIMEOUT 200 //定義游標位置常數 #define HOME 0 #define HOUR 1 #define MIN 2 #define SEC 3
標簽: include define RELOAD stdio
上傳時間: 2014-12-19
上傳用戶:zukfu
C# BigInteger class. BigInteger.cs is a csharp program. It is the BIgInteger class. It has methods: abs() , FermatLittleTest(int confidence) ,gcd(BigInteger bi) , genCoPrime(int bits, Random rand) , genPseudoPrime(int bits, int confidence, Random rand) , genRandomBits(int bits, Random rand) , isProbablePrime(int confidence) , isProbablePrime() , Jacobi(BigInteger a, BigInteger b) , LucasSequence(BigInteger P, BigInteger Q, BigInteger k, BigInteger n) ,max(BigInteger bi) , min(BigInteger bi) , modInverse(BigInteger modulus) , RabinMillerTest(int confidence) ,
標簽: BigInteger class BIgInteger program
上傳時間: 2013-12-23
上傳用戶:ynzfm
分治法解決最近對問題 畫一條垂直線x=c,把這些給定點分為兩個包含n/2個點的子集S1和S2,使得n/2個點位于直線的左側或直線上,另外n/2個點位于直線的右側或直線上;遵循分治法的思想,遞歸地求出左子集S1和右子集S2中的最近對,分別為d1與d2;之后d=min{d1,d2}。合并過程:在以垂線x=c為對稱軸,2d為寬度的區域內求最近兩個點的距離,記為d3;求D=min{d,d3};
上傳時間: 2013-12-26
上傳用戶:源碼3
MATLAB對11中調度算法進行比較,包括min-min、max-min、遺傳算法等等。
上傳時間: 2014-01-06
上傳用戶:lnnn30
假設在一個ad hoc網絡中,移動節點的發射功率PTx總是恒定的。要發送數據的移動節點總是先監聽信道,測量接收到的信號功率X,其中X= I + N, I為接收到的干擾,N是噪聲。移動節點只有在X<INThre時,才可以發射。式中,INThre為背景噪聲門限。 在仿真中,我們規定每個移動節點的發射功率是常數,PTx = 1W;接收節點接收機的靈敏度Smin = -80 dBm;信號質量 min = 2 dB;系統的背景噪聲門限INThre = 1.2e-10。
上傳時間: 2016-03-16
上傳用戶:sevenbestfei
根據有無固定基礎設施,無線局域網又可分為BSS (Basic Service Set)和IBSS (Independent Basic Service Set)。我們要研究的ad hoc網絡屬于后者。假設在一個ad hoc網絡中,移動節點的發射功率PTx總是恒定的。要發送數據的移動節點總是先監聽信道,測量接收到的信號功率X,其中X= I + N, I為接收到的干擾,N是噪聲。移動節點只有在X<INThre時,才可以發射。式中,INThre為背景噪聲門限。 在仿真中,我們規定每個移動節點的發射功率是常數,PTx = 1W;接收節點接收機的靈敏度Smin = -80 dBm;信號質量 min = 2 dB;系統的背景噪聲門限INThre = 1.2e-10。
標簽:
上傳時間: 2013-12-19
上傳用戶:頂得柱
This programme is to control DC motor in a certain speed using PWM. The target speed is "r", it is the speed in 1s. The sample rate is 0.1s, so the actual speed target is "rc"=r/10. The "r" and "rc" are integer, and the range of "r" is from 50 to 100. Keep rc=r/10!!! The array "speed1" and "speed2" are the control result, in 0.1s and 1s. The length of "speed1" is 2400, and "speed2" is 240. The "pw" and "nw" are the parameters of PWM. The test will last 4 min.
標簽: speed programme is control
上傳時間: 2014-11-22
上傳用戶:jyycc
此代碼是LDPC碼進行BP算法的重要參考代碼,價值很高!并且可以進行BP的改進算法min-sum BP算法的改進工作!參考的價值不錯
上傳時間: 2014-01-09
上傳用戶:bibirnovis
此代碼是LDPC碼進行BP算法的重要參考代碼,價值很高!并且可以進行BP的改進算法min-sum BP算法的改進工作!參考的價值不錯!!信道的源碼!
上傳時間: 2014-01-10
上傳用戶:luopoguixiong
中山大學編譯原理課程的一個實驗,根據OPP(算符優先)做的一個表達式計算器。 內有實驗的設計文檔。 實驗要求支持sin,cos,max,min,power,mod,boolean,?:,等運算。 這個代碼可以為學習編譯原理的同學參考。
上傳時間: 2014-01-27
上傳用戶:PresidentHuang