混合高斯模型和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