使用MSP430與CS8900開發網頁伺服器,可以動態顯示MCU溫度.
上傳時間: 2017-06-03
上傳用戶:
//初始化 if(initscr() == NULL) { perror("initcurs") exit(EXIT_FAILURE) } //設置模式 cbreak() noecho() keypad(stdscr, TRUE) //建立窗口 win = newwin(h, w, 3, 20) box(win, 0, 0) keypad(win, TRUE) wmove(win, cury, curx) mvaddstr(16, 1, "Press arrow keys to move the cursor within the window.\n") mvaddstr(17, 1, "Press q to quit.\n") refresh() wrefresh(win)
標簽: EXIT_FAILURE initcurs initscr perror
上傳時間: 2013-12-20
上傳用戶:FreeSky
The code performs a number (ITERS) of iterations of the Bailey s 6-step FFT algorithm (following the ideas in the CMU Task parallel suite). 1.- Generates an input signal vector (dgen) with size n=n1xn2 stored in row major order In this code the size of the input signal is NN=NxN (n=NN, n1=n2=N) 2.- Transpose (tpose) A to have it stored in column major order 3.- Perform independent FFTs on the rows (cffts) 4.- Scale each element of the resulting array by a factor of w[n]**(p*q) 5.- Transpose (tpose) to prepair it for the next step 6.- Perform independent FFTs on the rows (cffts) 7.- Transpose the resulting matrix The code requires nested Parallelism.
標簽: iterations performs Bailey number
上傳時間: 2014-01-05
上傳用戶:libenshu01
對于無約束問題,給出的共軛梯度法,內涵多個函數實例
標簽:
上傳時間: 2017-06-17
上傳用戶:baiom
走馬燈(燈光變幻)程序 內容:用DIP的8位開關控制走馬燈的花樣,用SW3控制走馬燈的起/停 運行步驟:1.按下一次開關SW3,開始燈光變幻,再按下一次則停止 可重復進行 * 2.按下SW3后,撥動不同的數碼開關DIP,就會出現不同的燈光變幻 * 3.按下"q"或者"Q",退出
上傳時間: 2017-06-21
上傳用戶:yepeng139
最優化理論與方法,其中包括兩種BFGS算法與共軛梯度法,以及H終止準則!!1
標簽:
上傳時間: 2017-07-02
上傳用戶:我干你啊
基于BP神經網絡識別字符. BP神經網絡算法是把一組樣本輸入輸出問題轉化為一個非線性優化問題,并通過梯度算法利用迭代運算求解權值的一種學習方法。采用BP網絡進行分類,并附加線性感知器來實現單字符的有效識別,算法簡便,識別率高,可適用于多種高噪聲環境中的印刷體字符識別。
上傳時間: 2017-07-03
上傳用戶:wlcaption
蟻群算法的MATLAB程序,提供變量初始化 C=[1304 2312 3639 1315 4177 2244 3712 1399 3488 1535 3326 1556 3238 1229 4196 1004 4312 790 4386 570 3007 1970 2562 1756 2788 1491 2381 1676 1332 695 3715 1678 3918 2179 4061 2370 3780 2212 3676 2578 4029 2838 4263 2931 3429 1908 3507 2367 3394 2643 3439 3201 2935 3240 3140 3550 2545 2357 2778 2826 2370 2975] m=31 Alpha=1 Beta=5 Rho=0.9 Q=100 NC_max=200
上傳時間: 2017-07-08
上傳用戶:wangyi39
模擬QPSK發射和接受的一個程序,帶I-Q修正,對于理解QPSK有很好的作用
上傳時間: 2017-07-12
上傳用戶:tianyi223
P0301:數字圖像矩陣數據的顯示及其傅立葉變換 P0302:二維離散余弦變換的圖像壓縮 P0303:采用灰度變換的方法增強圖像的對比度 P0304:直方圖均勻化 P0305:模擬圖像受高斯白噪聲和椒鹽噪聲的影響 P0306:采用二維中值濾波函數medfilt2對受椒鹽噪聲干擾的圖像濾波 P0307:采用MATLAB中的函數filter2對受噪聲干擾的圖像進行均值濾波 P0308:圖像的自適應魏納濾波 P0309:運用5種不同的梯度增強法進行圖像銳化 P0310:圖像的高通濾波和掩模處理 P0311:利用巴特沃斯(Butterworth)低通濾波器對受噪聲干擾的圖像進行平滑處理 P0312:利用巴特沃斯(Butterworth)高通濾波器對圖像進行銳化處理
上傳時間: 2017-07-12
上傳用戶:ikemada