混合高斯模型和EM算法結合,當中用到了自己寫的Kmeans聚類,附帶測試樣例、訓練樣例和Main函數。
上傳時間: 2013-12-23
上傳用戶:zhangyi99104144
編程題(15_01.c) 結構 struct student { long num char name[20] int score struct student *next } 鏈表練習: (1).編寫函數struct student * creat(int n),創建一個按學號升序排列的新鏈表,每個鏈表中的結點中 的學號、成績由鍵盤輸入,一共n個節點。 (2).編寫函數void print(struct student *head),輸出鏈表,格式每行一個結點,包括學號,姓名,分數。 (3).編寫函數struct student * merge(struct student *a,struct student *b), 將已知的a,b兩個鏈表 按學號升序合并,若學號相同則保留成績高的結點。 (4).編寫函數struct student * del(struct student *a,struct student *b),從a鏈表中刪除b鏈表中有 相同學號的那些結點。 (5).編寫Main函數,調用函數creat建立2個鏈表a,b,用print輸出倆個鏈表;調用函數merge升序合并2個 鏈表,并輸出結果;調用函數del實現a-b,并輸出結果。 a: 20304,xxxx,75, 20311,yyyy,89 20303,zzzz,62 20307,aaaa,87 20320,bbbb,79 b: 20302,dddd,65 20301,cccc,99 20311,yyyy,87 20323,kkkk,88 20307,aaaa,92 20322,pppp,83
上傳時間: 2016-04-13
上傳用戶:zxc23456789
1) Write a function reverse(A) which takes a matrix A of arbitrary dimensions as input and returns a matrix B consisting of the columns of A in reverse order. Thus for example, if A = 1 2 3 then B = 3 2 1 4 5 6 6 5 4 7 8 9 9 8 7 Write a Main program to call reverse(A) for the matrix A = magic(5). Print to the screen both A and reverse(A). 2) Write a program which accepts an input k from the keyboard, and which prints out the smallest fibonacci number that is at least as large as k. The program should also print out its position in the fibonacci sequence. Here is a sample of input and output: Enter k>0: 100 144 is the smallest fibonacci number greater than or equal to 100. It is the 12th fibonacci number.
標簽: dimensions arbitrary function reverse
上傳時間: 2016-04-16
上傳用戶:waitingfy
#include <stdio.h> #include<math.h> void pid_init() void pid_tune() void pid_setinteg() void pid_bumpless() float pid_calc() void Main()
標簽: void include pid_setinte pid_init
上傳時間: 2016-04-19
上傳用戶:851197153
Qpsk signal Processing Code The DSP code should be efficient and accurate to properly demodulate the incoming signal. The DSP can be coded strictly in “C” or C-language can be intermingled with assembly code.include Real Time Digital Signal Processor Code – Main.c file BER Test Code
標簽: Processing demodulate efficient accurate
上傳時間: 2014-08-10
上傳用戶:dancnc
/// /// /// ////1602驅動函數////////////////////////////////////// ////////////////////////////////////////////////////////////// // 函數原型:print(ucahr *string) // 輸出字符串,超過16個字符時自動移入第二行 // printone(uchar x,uchar y,ucahr Data) // 在指定的位置(x,y)輸出一個字符 // lcm_init(void) // 要調用本函數時,必須在Main()初始化階段調用 lcm_init() 初始化 1602
上傳時間: 2014-12-07
上傳用戶:CHINA526
一個已經實現的連連看小游戲的源碼,其中Kyodai.java是Main文件,打成jar包就可以運行。
上傳時間: 2016-05-08
上傳用戶:dragonhaixm
嵌入式程序,這是Main函數,實現簡單的功能
標簽: 嵌入式程序
上傳時間: 2016-05-15
上傳用戶:aeiouetla
作品名稱:班級成績管理系統 作者:sammual 一 該系統的設計方法:其主要的設計方法是面對過程的,整個程序的走向很清晰地說明了這一點;但其中也有小部分用的是面對對象的,例如類的實現。該系統包含“Main.cpp”,“stuent.cpp ”和“student.h”三個文件,用visual c++6.0先建立一個空的win32 console Application工程,然后把這三個文件添加到工程里編譯即可。 二 該系統的特點:1信息保密。由于該系統是用于存放,修改,刪除,查詢學生成績的,所以登錄時需要密碼和用戶名,只有老師(管理員)才能登錄并進行相關的操作。2 系統使用簡單。整個過程都會有相關的提示。3對于非法的輸入會有警告。4系統會自動算出學生成績總分和自動進行學生排名。
上傳時間: 2016-05-19
上傳用戶:氣溫達上千萬的
一個完整的SHELL實現源代碼,內容包括:buf.c def.h dir.c file.c fs.c fs.h dh.c inode.c Main.c os.exe panic.c 對學習操作系統有很大的幫助
上傳時間: 2016-05-21
上傳用戶:csgcd001