數(shù)字鎖相環(huán)實(shí)現(xiàn)源碼,有很大的參考價(jià)值。 由 鑒相器 模K加減計(jì)數(shù)器 脈沖加減電路 同步建立偵察電路 模N分頻器 構(gòu)成.
標(biāo)簽: 數(shù)字鎖相環(huán) 源碼
上傳時(shí)間: 2014-01-04
上傳用戶:zq70996813
設(shè)T[0:n-1]是n個(gè)元素的一個(gè)數(shù)組。對(duì)任一元素x,設(shè)S(x)={i|T[i]=x}。當(dāng)|S(x)|>n/2時(shí),稱x為T的主元素。設(shè)計(jì)一個(gè)線性時(shí)間算法,確定T[0:n]是否有一個(gè)主元素。
上傳時(shí)間: 2014-01-08
上傳用戶:daoxiang126
設(shè)T[0:n-1]是n個(gè)元素的一個(gè)數(shù)組。對(duì)任一元素x,設(shè)S(x)={i|T[i]=x}。當(dāng)|S(x)|>n/2時(shí),稱x為T的主元素。設(shè)計(jì)一個(gè)線性時(shí)間算法,確定T[0:n]是否有一個(gè)主元素。
上傳時(shí)間: 2013-12-13
上傳用戶:2525775
給定一個(gè)n位正整數(shù)a,去掉其中任意k<=n個(gè)數(shù)字后,剩下的數(shù)字按原次序排列成一個(gè)新的正整數(shù)。對(duì)于給定的n位正整數(shù)a和正整數(shù)k,設(shè)計(jì)一個(gè)算法找出剩下數(shù)字組成的新數(shù)最小的刪數(shù)方案。
上傳時(shí)間: 2013-12-12
上傳用戶:685
陣列信號(hào)處理波束形成卡朋算法仿真:該程序陣列數(shù)為N,采樣點(diǎn)數(shù)為K,入射信號(hào)為30度角,干擾信號(hào)為60度角。 功能:提取有用信號(hào)抑制干擾信號(hào)
標(biāo)簽: 陣列信號(hào)處理 波束形成 仿真 算法
上傳時(shí)間: 2014-12-01
上傳用戶:jackgao
How the K-mean Cluster work Step 1. Begin with a decision the value of k = number of clusters Step 2. Put any initial partition that classifies the data into k clusters. You may assign the training samples randomly, or systematically as the following: Take the first k training sample as single-element clusters Assign each of the remaining (N-k) training sample to the cluster with the nearest centroid. After each assignment, recomputed the centroid of the gaining cluster. Step 3 . Take each sample in sequence and compute its distance from the centroid of each of the clusters. If a sample is not currently in the cluster with the closest centroid, switch this sample to that cluster and update the centroid of the cluster gaining the new sample and the cluster losing the sample. Step 4 . Repeat step 3 until convergence is achieved, that is until a pass through the training sample causes no new assignments.
標(biāo)簽: the decision clusters Cluster
上傳時(shí)間: 2013-12-21
上傳用戶:gxmm
一 :排序n個(gè)元素,元素為隨機(jī)生成的長(zhǎng)為1~16的字符串,n的取值為2k(k取4、6、8、10、12、16、18、20),排序算法分別為直接插入排序, 冒泡排序,堆排序,歸并排序,快速排序,比較各種排序在不同輸入下的運(yùn)行時(shí)間. 二:排序n個(gè)元素,元素為隨機(jī)生成的1~10000的正整數(shù),n的取值為2k(k取4、6、8、10、12、16、18、20),排序算法分別為直接插入排序,快速排序,基數(shù)排序,計(jì)數(shù)排序,比較各種排序在不同輸入下的運(yùn)行時(shí)間.
上傳時(shí)間: 2016-02-07
上傳用戶:dsgkjgkjg
用分支限界法求解背包問(wèn)題(0/1背包) 1.問(wèn)題描述:已知有N個(gè)物品和一個(gè)可以容納TOT重量的背包,每種物品I的重量為Weight,價(jià)值為Value。一個(gè)只能全放入或者不放入,求解如何放入物品,可以使背包里的物品的總價(jià)值最大。 2.設(shè)計(jì)思想與分析:對(duì)物品的選取與否構(gòu)成一棵解樹,左子樹表示裝入,右表示不裝入,通過(guò)檢索問(wèn)題的解樹得出最優(yōu)解,并用結(jié)點(diǎn)上界殺死不符合要求的結(jié)點(diǎn)。
上傳時(shí)間: 2016-02-09
上傳用戶:我們的船長(zhǎng)
約瑟夫環(huán)問(wèn)題算法的優(yōu)化 1、問(wèn)題描述: 已知n個(gè)人(以編號(hào)1,2,3...n分別表示)圍坐在一張圓桌周圍。從編號(hào)為k的人開(kāi)始報(bào)數(shù),數(shù)到m的那個(gè)人出列;他的下一個(gè)人又從1開(kāi)始報(bào)數(shù),數(shù)到m的那個(gè)人又出列;依此規(guī)律重復(fù)下去,直到圓桌周圍的人全部出列,求最后出列的哪一個(gè)人。
標(biāo)簽: 算法
上傳時(shí)間: 2016-02-23
上傳用戶:evil
具體實(shí)現(xiàn)以下4條基本編輯命令: (1) 行插入。格式:i《行號(hào)》《回車》《文本》。《回車》 將《文本》插入活區(qū)中第《行號(hào)》行之后。 (2) 行刪除。格式:d《行號(hào)1》[《空格》《行號(hào)2》]《回車》 刪除活區(qū)中第《行號(hào)1》行(到第《行號(hào)2》行)。例如:“d10”和“和d10 14”。 (3)活區(qū)切換。格式:n《回車》 將活區(qū)寫如輸出文件。并從輸入文件中讀入下一段,作為新的活區(qū)。 (4)活區(qū)顯示。格式:p《回車》 各條命令中的行號(hào)均須在活區(qū)中各行行號(hào)范圍之內(nèi),只有插入命令的行號(hào)可以等于活區(qū)第一行行號(hào)減一,表示插入當(dāng)前屏幕中第一行之前,否則命令參數(shù)非法
上傳時(shí)間: 2013-12-27
上傳用戶:lvzhr
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1