This my phd thesis for the WDM optical network optimization, which employs convex optimization techniques to solve the proposed integer problems. The computation complexity of my optimization framework is very low compared with other existing method and a performance bound is provided at the same time.
We address the problem of blind carrier frequency-offset (CFO) estimation in quadrature amplitude modulation,
phase-shift keying, and pulse amplitude modulation
communications systems.We study the performance of a standard
CFO estimate, which consists of first raising the received signal to
the Mth power, where M is an integer depending on the type and
size of the symbol constellation, and then applying the nonlinear
least squares (NLLS) estimation approach. At low signal-to noise
ratio (SNR), the NLLS method fails to provide an accurate CFO
estimate because of the presence of outliers. In this letter, we derive
an approximate closed-form expression for the outlier probability.
This enables us to predict the mean-square error (MSE) on CFO
estimation for all SNR values. For a given SNR, the new results
also give insight into the minimum number of samples required in
the CFO estimation procedure, in order to ensure that the MSE
on estimation is not significantly affected by the outliers.
We have a group of N items (represented by integers from 1 to N), and we know that there is some total order defined for these items. You may assume that no two elements will be equal (for all a, b: a<b or b<a). However, it is expensive to compare two items. Your task is to make a number of comparisons, and then output the sorted order. The cost of determining if a < b is given by the bth integer of element a of costs (space delimited), which is the same as the ath integer of element b. Naturally, you will be judged on the total cost of the comparisons you make before outputting the sorted order. If your order is incorrect, you will receive a 0. Otherwise, your score will be opt/cost, where opt is the best cost anyone has achieved and cost is the total cost of the comparisons you make (so your score for a test case will be between 0 and 1). Your score for the problem will simply be the sum of your scores for the individual test cases.
圖形顯示技巧,這是其中一段代碼
procedure TForm1.Button1Click(Sender: TObject)
var
newbmp:TBitmap
i,bmpheight,bmpwidth:integer //推拉
begin
newbmp:=TBitmap.Create
newbmp.Width:=image1.Width
newbmp.Height:=image1.Height
bmpheight:=image1.Height
bmpwidth:=image1.Width
for i:=0 to bmpheight do
begin
newbmp.Canvas.CopyRect(Rect(0,bmpheight-i,bmpwidth,bmpheight),image1.Canvas,Rect(0,0,bmpwidth,i))
form1.Canvas.Draw(120,100,newbmp)
end
newbmp.free
end
實用的單片機開發與應用程序,包括:中值濾波子程序,AD轉換類程序,16、32位整型數開方,單片機音樂程序--祝你平安。對初學者很有幫助的。MCU development and practical applications, including: median filter subroutine, AD converter type of proceeding, 16,32-bit integer number prescribing, SCM music program - I wish you peace. Helpful for beginners.
其中:ClientInfor.inf 文件:
第一行的數據表示: 客戶端游戲版本號
第一行的數據表示: 更新文件存放的網絡路徑
UpdateInfor.inf文件:
第一行的數據表示: 最新游戲版本號
第二行的數據表示: 有多少文件需要更新
后面每行的數據表示: 需要更新的文件的名稱
frmUpdate.frm窗體: 負責下載
modZip.BAS模塊: 只負責用來壓縮文件和解壓縮文件的
其中的 UnZipTo 函數用來解壓縮的
zlib.dll: 為WinZip的dll文件
更新完畢后,ClientInfor.inf文件的第一行的數據會變為最新版本號
frmUpdate.frm窗體代碼如下:
Private Sub cmdExit_Click()
Unload Me
End Sub
Private Sub cmdUpdate_Click()
Dim strClientInfor() As String
Dim strUpdateInfor() As String
Dim nNum As integer 存
華東師范大學(面向對象程序設計基于C++)課程全部作業(12次)代碼,包含一個大整數類。(包含作業內容)
1 How to use VC++ & IBM Visual Age (XL) C++
2 Pointers, Arrays and Structures
3 Operators & Statements
4 Functions
5 Use of classes in STL
6 Define concrete classes
7 Data abstraction
8 Operator Overloading
9 Define integer type with arbitrary precision
10 Virtual functions
11 Templates
12 Exception handling