-
lab0403-Lcd
F2812对lcd的控制源码,学习的好资料(F2812 on the lcd control source)
- 2011-10-30 13:51:55下载
- 积分:1
-
12
说明: 一个按键的多次击键组合判别技巧
有时在设计中,往往要用一个按键来输入多种信息。如:单击/双击/三击、短击/长击、
还有各种组合击键方式。可以用以下程序来做。
如果按键闭合时间判断为一次短击
如果按键闭合时间判断为一次长击(A button multiple keystroke combinations sometimes Discriminant skills in design, often using a button to enter a wide range of information. Such as: click/double/triple-clicking, hit a short/long shot, there are various combinations of keystrokes way. The following procedures can be used to do. If the button closure for a short time to judge the hit to determine if the button closure for a long time to hit)
- 2008-06-22 10:37:45下载
- 积分:1
-
k-means算法
#include
#include
#define N 11 //代表数据点的个数
#define K 3 //代表簇的个数
typedef struct
{
float x;
float y;
}Point; //代表数据点的数据结构
int center[N]; //判断每个点属于哪个簇
Point point[N] = { {2.0, 10.0},{2.0, 5.0},{8.0, 4.0},{5.0, 8.0},{7.0, 5.0},
{6.0, 4.0},{1.0, 2.0},{4.0, 9.0},{7.0, 3.0},{1.0, 3.0},
{3.0, 9.0}};
Point mean[K]; //保存每个簇的中心点
float getDistance(Point point1, Point point2);
void getMean(int center[N]);
float getE();
void cluster();
int main()
{
int i, j;
int n = 0; //统计进行了多少次聚类
float temp1; //用于存平方误差
float temp2;
printf(" 处理的数据点集合为:
");
for(i = 0; i < N; ++i)
{
- 2022-01-26 19:53:04下载
- 积分:1
-
videoplayerdxs
VC++ 6.0源代码程序,功能是利用DirectShow播放视频文件(Use directshow to play video)
- 2013-12-03 17:16:32下载
- 积分:1
-
SPC-master
功能强大的spc软件,基于devexpress界面库(Powerful SPC software, based on devexpress interface library)
- 2015-06-04 11:10:16下载
- 积分:1
-
cPPhttp_Part5_upAndDown
http通信包,提供上传和下载的处理接口(http communications package that provides the processing interface to upload and download)
- 2013-10-14 14:31:25下载
- 积分:1
-
SetIP
利用WMI修改IP,dns,网关(不用重启计算机)适合XP,win7,vista(The use of WMI change IP, dns, gateway (do not restart the computer) for XP, win7, vista)
- 2009-09-04 15:47:11下载
- 积分:1
-
GuessNumber
界面不是很好看,但是功能完善的还行,挺有趣的一个游戏,手机上有的。(Interface is not very good looking, but also featured the line, a very interesting game, and some mobile phones.)
- 2011-06-01 16:43:30下载
- 积分:1
-
Simpwin
ce programme permet de calculer la transformer en ondelette sous matlab
- 2011-12-23 03:53:54下载
- 积分:1
-
HMMzddsdgrt
很好的关于人脸识别的毕业论文,从中国知网付费下载得到,《基于HMM具有年龄变化的人脸识别技术研究 》希望对大家有用。(About Face Recognition of good theses, pay-per-download from the Chinese HowNet be, " HMM-based face recognition with age changes in technology research," I hope useful to everyone.)
- 2009-03-30 12:00:33下载
- 积分:1