-
电影票
图书馆管理系统 C+ + * 递归程序为线性搜索 * /#includeint 线性 (int [],int,int) ;无效的主要 (){int a [20],pos = 1,n,k,我 ;clrscr() ;printf ("nEnter n 值:") ;scanf ("%d",& n) ;printf ("nEnter 元素的数组:") ;为 (我 = 0 ; 我 < n; i + +)scanf ("%d"& a[i]) ;printf ("n 输入要搜索的元素:") ;scanf ("%d"& k) ;pos=linear(a,n,k) ;if(pos!=-1)printf ("n 搜索成功,发现位置 %d 处的元素",pos) ;其他printf ("搜索失败,找不到元素") ;残培 () ;}int 线性 int k int n int []){int ;为 (我 = n-1 ; 我 > = 0; 我 — —){if(a[i]==k)return(i) ;其他{n = n-1 ;return(linear(a,n,k)) ;}}返回-1 ;}
- 2022-02-02 00:00:53下载
- 积分:1
-
Harris角点检测
1.求解像素点在水平方向的梯度 2.求解像素点在垂直方向的梯度 3.生成高斯滤波w(s,t) 4.用高斯模板对图像进行相关运算(线性滤波) 5.针对每个像素点(i,j),计算矩阵M 6.如果R(i,j)是3*3邻域内的极大值,且大于阀值,则选为角点 7.统计角点个数 8.确定角点位置
- 2022-06-15 20:11:41下载
- 积分:1
-
基于BP神经网络的RFID室内定位算法研究
资源描述:针对室内物体或者人员使用主动式射频识别(RFID)技术问题,设计了适用于室内环境的定位算法。传统的RFID室
内定位算法由于室内环境复杂多变,路径损耗系数很难准确估计,定位精度不高。为解决上述问题,提出一种采用BP神经
网络的RFID室内定位算法,算法引入参考标签辅助定位,利用BP神经网络建立场强信号转化模型。在模型中输入接收信
号强度值,输出路径损耗系数,网络模型提高了路径损耗系数的准确性,再利用距离一损耗模型实现精确定位,从而减小定位
误差。与传统的RFID定位算法比较,仿真和实验结果表明,改进算法的定位精度有显著的提高,可用于仓库、监狱、超市等
室内环境。
- 2022-09-18 04:45:03下载
- 积分:1
-
简单明了的PID控制算法,可以参考一下
简单明了的PID控制算法,可以参考一下-simple PID control algorithm, a reference
- 2022-07-28 10:56:23下载
- 积分:1
-
This file implements a pid controller used to simulator cruise control in a car
This file implements a pid controller used to simulator cruise control in a car
The input is a throtle value between 0 - 100 ( read on P1 )
The output is the car s speed ( P2 - P0 ) -This file implements a pid controller used to simulator cruise control in a car The input is a throtle value between 0- 100 (read on P1) The output is the car s speed (P2- P0)
- 2023-07-17 12:45:03下载
- 积分:1
-
huffmantr
huffmantr
- 2022-02-14 18:02:14下载
- 积分:1
-
求解线性方程组,所有方法都包括,可直接使用粘贴
求解线性方程组,各种方法都包括在内,可以直接粘贴使用-solving linear equations, all methods included, can be directly used paste
- 2023-03-21 05:25:03下载
- 积分:1
-
可以查询学生详细信息(学号、姓名、性别、入学时间、出生年月、电话、家庭住址・・・・・・),亦可查询简明信息(只含有姓名和年龄);可增加、删除和浏览学生信息;可按...
可以查询学生详细信息(学号、姓名、性别、入学时间、出生年月、电话、家庭住址・・・・・・),亦可查询简明信息(只含有姓名和年龄);可增加、删除和浏览学生信息;可按“学号”,“姓名”查询;可用菜单实现上述功能。-students can find detailed information (school, name, gender, school, date of birth, telephone, family residence), can also inquire about the concise information (contained only the name and age); increase. View and delete student information; according to "study", "name" inquiries; menu can be used to achieve the above functions.
- 2022-05-29 05:23:36下载
- 积分:1
-
数值分析中常用的几种算法的实现
数值分析中常用的几种算法的实现-numerical analysis of several commonly used algorithms to achieve
- 2022-01-28 17:15:44下载
- 积分:1
-
apriori算法C++实现
资源描述数据挖掘中的关联规则发现算法——apriori的c++实现。数据输入是在窗口中输入,根据提示即可。注意事项:1.除了最后的阈值设定为小树(小于1大于0),其余全部为整数。中间事务的输入用空格隔开。建议3个以内。
- 2022-07-17 19:28:10下载
- 积分:1