-
递归计算模式
递归计算众数,重数,输入一个整形数组,用递归计算数组中出现次数最多的数(众数)以及出现次数(重数)。-Recursive calculation mode, re-number, enter an integer array, with the recursive computation of the array appear in the highest number of number (plural), and the number of occurrences (multiplicity).
- 2023-06-28 09:20:04下载
- 积分:1
-
人工智能主观贝叶斯算法模拟
运行环境说明(2013.11.22)
1.操作系统: ubuntu 13.10
2.集成开发环境: qt-5.1.1
3.由于linux操作系统与windows操作系统采用不同的编码格式,在windows下查看相关文档或源代码可能会有乱码问题,如需调试运行,请迁移到相关环境。
- 2023-01-30 00:30:04下载
- 积分:1
-
无源蜂鸣器和弦音电路及驱动源码
应用背景公司产品需要用无源蜂鸣器产生和弦音乐,如果单纯产生不同的频率去驱动蜂鸣器,能产生不同音阶的声调,但是没有和弦音的效果,经过查找大量资料,使用电容放电实现拖音的效果,即产生了和弦音,驱动电路及源码如附件关键技术其中BP_PWR 用于控制给电容的充放电,而BUZZER则用于不同音阶的频率的产生,当BP_PWR关掉时,电容开始放电,此时BUZZER仍然有信号输出,直到电容放电完毕后,从电容的放电开始到放电结束,便产生了和弦音,效果很赞的。已经成熟应用于多个公司的产品中。
- 2023-01-28 00:50:04下载
- 积分:1
-
从多维来画波形图
从多维来画波形图-To draw from the multi-dimensional wave
- 2022-01-25 19:55:32下载
- 积分:1
-
Bayesian classifier C source code, using IRIS category for example, easily under...
贝叶斯分类器的C++源码,用IRIS作类例子,通俗易懂,适合作模式识别、图像处理研究开发用!-Bayesian classifier C source code, using IRIS category for example, easily understood and suitable for pattern recognition, Image processing research and development with!
- 2022-01-23 10:59:10下载
- 积分:1
-
文件MD5 生产算法
char *MD5_file (char *path, int md5_len)
{
FILE *fp = fopen (path, "rb");
MD5_CTX mdContext;
int bytes;
unsigned char data[1024];
char *file_md5;
int i;
if (fp == NULL) {
fprintf (stderr, "fopen %s failed
", path);
return NULL;
}
MD5Init (&mdContext);
while ((bytes = fread (data, 1, 1024, fp)) != 0)
{
MD5Update (&mdContext, data, bytes);
}
MD5Final (&mdContext);
file_md5 = (char
- 2022-07-11 22:12:17下载
- 积分:1
-
不同坐标系坐标转换算法
把二维坐标系中的点转换成一维坐标系中的值。通过建立好的转换关系,可查找二维坐标系到一个线段的垂足。根据距离转换成一维坐标系中的值。
- 2022-06-01 03:53:18下载
- 积分:1
-
线性方程迭代法,下载的顶一下哦
线性方程迭代法,下载的顶一下哦-Linear equations iterative method, download the top click oh
- 2022-11-01 13:05:03下载
- 积分:1
-
求实系数代数方程全部根的牛顿下山法,java,源程序具有自带的数据,经过验证结果无误。使用者可以直接调用方法...
求实系数代数方程全部根的牛顿下山法,java,源程序具有自带的数据,经过验证结果无误。使用者可以直接调用方法-realistic Algebraic equations of Newton-down, java, with its own source of data, proven correct results. Users can directly call methods
- 2022-04-18 20:34:53下载
- 积分:1
-
线性的插值算法,内涵读取文件,算法实现和写入文件。读取的文件为PARCHG,写入的文件为INSERT_DATA...
线性的插值算法,内涵读取文件,算法实现和写入文件。读取的文件为PARCHG,写入的文件为INSERT_DATA-Linear interpolation algorithm, meaning to read documents, algorithm implementation and write to a file. Read documents PARCHG, written documents INSERT_DATA
- 2022-07-14 11:15:11下载
- 积分:1