輸入一系列遞減順序的整數(100,50,40,30……),以0標志結束,將這些數作為data域逆序建立一個單鏈表;從鍵盤輸入一個整數X,將X插入到此單鏈表中并保持單鏈表data域的值遞增關系,輸出此時單鏈表各結點data域的值;從鍵盤輸入一個整數Y,若Y值在單鏈表中存在,則刪除data域的值為Y的結點(注單鏈表中沒有data域值相同的結點),并輸出此時單鏈表各結點data域的值。
上傳時間: 2013-12-20
上傳用戶:s363994250
maven 2.0 The following instructions show how to install Maven 2: 1) Unpack the archive where you would like to store the binaries, eg: tar zxvf maven-2.0.tar.gz or unzip maven-2.0.zip 2) A directory called "maven-2.0" will be created. 3) Add the bin directory to your PATH, eg: export PATH=/usr/local/maven-2.0/bin:$PATH or set PATH="c:\program files\maven-2.0\bin" %PATH% 4) Make sure JAVA_HOME is set to the location of your JDK 5) Run "mvn --version" to verify that it is correctly installed.
標簽: instructions following archive install
上傳時間: 2014-01-19
上傳用戶:weiwolkt
數字信號處理的應用之一是從含有加性噪聲的信號中去除噪聲。現有被噪聲污染的信號x[k]=s[k]+d[k],式中: 為原始信號d[k]為均勻分布的白噪聲。 (1)分別產生50點的序列s[k]和白噪聲序列d[k],將二者疊加生成x[k],并在同一張圖上繪出x0[k],d[k]和x[k]的序列波形。 (2)均值濾波可以有效去除疊加在低頻信號上的噪聲。已知3點滑動平均數字濾波器的單位脈沖響應為h[k]=[1,1,1 k=0,1,2],計算y[k]=x[k]*h[k],在同一張圖上繪出前50點y[k],s[k]和x[k]的波形,比較序列y[k]和s[k]。
上傳時間: 2015-08-19
上傳用戶:Andy123456
圖形學消隱實驗,*方案1上下旋轉,只顯示可見面,函數說明:void Project(float X,float Y,float Z) 功能:根據透視或平行投影將三維點進行投影變換 入口參數:float X,float Y,float Z 返回參數:無(void)
上傳時間: 2013-12-22
上傳用戶:liuchee
ST7 Visual Develop for ST7 Assembler Toolset Users integrated development environment that allows you to build, debug and program applications for ST7 microcontrollers.
標簽: development environment integrated ST7
上傳時間: 2015-08-25
上傳用戶:1109003457
VC+MO最短路徑算法 // 計算線的幾何長度 double CalcLength() // 通過線的id得到線數據 BOOL GetLineData(int id) // 得到距離某點最近的線段,返回該線段的id int GetNearestLineData( double x, double y) // 判斷兩點是否重合 BOOL IsPtCoincide( NetPoint ptFirst, NetPoint ptSecond ) // 得到最鄰近的點
標簽: GetLineData CalcLength double BOOL
上傳時間: 2015-08-28
上傳用戶:lizhen9880
圖像平移只是改變圖像在屏幕上的位置,圖像本身并不發生變化。 假設原圖像區域左上角坐標為(x0, y0),右下角坐標為(x1, y1),將圖像分別沿x和y軸平移dx和dy,則新圖像的左上角坐標為(x0 + dx, y0 + dy),右下角坐標為(x1 + dx, y1 + dy)。
上傳時間: 2015-09-03
上傳用戶:dongqiangqiang
support vector classification machine % soft margin % uses "kernel.m" % % xtrain: (Ltrain,N) with Ltrain: number of points N: dimension % ytrain: (Ltrain,1) containing class labels (-1 or +1) % xrun: (Lrun,N) with Lrun: number of points N: dimension % atrain: alpha coefficients (from svcm_train on xtrain and ytrain) % btrain: offest coefficient (from svcm_train on xtrain and ytrain) % % ypred: predicted y (Lrun,1) containing class labels (-1 or +1) % margin: (signed) separation from the separating hyperplane (Lrun,1
標簽: classification support machine Ltrain
上傳時間: 2015-09-04
上傳用戶:問題問題
LCD and Keyboard ARMulator model for the ADS Source Code Copy the provided ARMulate folder into your ADS directory tree at the root, for example in c:\ADSv1_1. If prompted to overwrite files, choose Yes. The batch file copy_console.bat will place the appropriate files inside the \Bin directory so that they will be found by the ARMulator. You still need to follow the instructions under "Using the Model" to set up the configuration files.
標簽: ARMulator the Keyboard ARMulate
上傳時間: 2014-02-25
上傳用戶:woshini123456
同一個數會由于采用不同的基數而使得其表現的形式是完全不一樣的,在我們的學習中,我們熟悉的基數有10進制、12進制、60進制、2進制、8進制和16進制。比如數據12,如果我們用2進制表示,則它就是1100;如果用3進制表示就是110;如果用8進制表示則是14。我們的編程任務就是與數的進制(也就是基數)有關。 程序中我們會給大家很多個數對(假設每個數對的數用X和Y表示),程序需要解決的問題就是為X和Y各選擇一個最小的基數,以使得這兩個數在其選擇的基數上是一對相等的數。 例如,12和5這個數對,我們可以為12選擇基數3,為5選擇基數6,這樣一來12(base 3)=5(base 6),因為12(base 3)就是10進制數5,而5(base 6)也是10進制數中的5。 程序的輸入是通過文件完成的。 文件中的每一行都包含一個數對X和Y,兩個數通過一個或多個空格符分割,與X和Y相關聯的有效基數值范圍為2~36。X和Y的合理數值表示字符包括0—9和A-Z(表示數值10-35)。 文件的最后一行用一個數字0表示輸入的結束。
標簽:
上傳時間: 2013-12-17
上傳用戶:skfreeman