-
四轴飞行器stm32(完整)源代码
应用背景我将此应用于毕业设计。四轴飞行器的飞行控制程序,选用的是pid控制。四轴飞行器STM32F103RBT6程序 MPU6560, STM32F103RBT6+mpu6050模块,使用卡尔曼滤波,波形很不错。基于stm32 的usb,采用mpu6050陀螺仪模块采集三轴角速度的运动,实现空中鼠标,实际使用效果很好,拿着模块上下左右轻轻摆动即可控制鼠标的运动,不像普通鼠标需要放在桌面上,采用stm32开发板实现,同时也有触摸屏鼠标功能,关键技术基于STM32的四轴飞行器设计最终
- 2022-03-03 02:41:17下载
- 积分:1
-
音频信号采集
能够完成对于MP3 等文件的信息,音频信号进行采集与输出
例如:文件头的歌曲名、歌手等
由于MP3是二进制文件,因此主要根据断点来进行编码实行
- 2023-08-08 21:50:04下载
- 积分:1
-
遗传基因算法源代码
遗传基因算法源代码-genetic algorithm source code
- 2022-07-08 23:11:36下载
- 积分:1
-
simple algorithm standard procedures, we will be able to meet the need.
标准单纯性算法程序,不知能否满足大家需要。-simple algorithm standard procedures, we will be able to meet the need.
- 2022-06-11 17:35:54下载
- 积分:1
-
找钱张数最少
二、问题
现只有面额为 11元、5元、1元的三种人民币。
给定一个 数目为 money 的人民币,如何用这三种面额的人民币 找开它,且用的人民币张数最少
如:给定 10元,我们可以有以下找法:
2张 5元面额
1张 5元面额 + 5 张 1元面额
10张 1元面额
我们 选择第一种找法。只用两张人民币。
三、分析
利用动态规划法可以找到最优解。
利用贪心算法可以找到最优解(问题满足贪心选择性质时。该找钱问题在 11、5、1三种面额的情况下不满足该性质)
或者找到近似 最优解(在本题设定的三种面额的情况下 便是如此)
如果现在要找开 15元钱,则
- 2022-03-06 11:17:09下载
- 积分:1
-
设A和B是2个字符串。要用最少的字符操作将字符串A转换为字符串B。这里所说的字符操作包括:
1. 删除一个字符
2. 插入一个字符
3. 将一个字符...
设A和B是2个字符串。要用最少的字符操作将字符串A转换为字符串B。这里所说的字符操作包括:
1. 删除一个字符
2. 插入一个字符
3. 将一个字符改为另一个字符
将字符串A变换为字符串B所用的最少操作数称为A到B的编辑距离,极为d(A,B)。设计一个算法,计算任意两个字符串的编辑距离。
-Set A and B are two strings. Operation will use the least character string A is converted to a string B. Operation of characters are talking about here include: 1. Delete a character 2. Insert a character 3. Will be replaced by one character to another character will be transformed into a string A string of at least B operand used by A to B is called the edit distance is extremely d (A, B). Design an algorithm to calculate any two of the string edit distance.
- 2022-01-26 03:32:59下载
- 积分:1
-
希尔排序
希尔排序-Sort Hill
- 2022-03-01 00:09:40下载
- 积分:1
-
常用数值算法集哈,很有用的,请大家多下载哈
常用数值算法集哈,很有用的,请大家多下载哈-commonly used numerical algorithm sets Kazakhstan, and very useful, please download over Kazakhstan
- 2022-03-23 17:35:44下载
- 积分:1
-
用户信息管理系统
在有用户登录的平台中管理用户信息,并对用户密码进行加密,需要有数据库的支持,加密算法采用base64+SHA1,加密后的用户信息存放在数据库中,用户登录的时候进行认证,符合条件的允许登录,不符合的不允许登录。
- 2022-02-07 08:48:32下载
- 积分:1
-
DFT nature of the research, the pros and transform calculation, the real and ima...
DFT性质的研究,正反变换的计算关系,实虚部的对应关系-DFT nature of the research, the pros and transform calculation, the real and imaginary parts of the correspondence between
- 2022-08-07 11:58:54下载
- 积分:1