-
tgxrryy
设计一个main函数,建立能够存放100个整型数据的顺序表对象,从自然数1开始找出80个能够同时被3和7整除的整数,依次存储到这个顺序表中,然后把其中个位数是偶数的数据输出来,并统计这种数据有多少。请把能够正确运行的main函数写在下面。(Design a main function, the table can be stored in the order of 100 integer data objects, from the natural number 1 to identify 80 can be an integer divisible by 3 and 7, in turn stored in the order table, then single digits outputs the data of the even number, and counts the number of such data. To be able to properly run the main function written below.)
- 2012-12-10 15:58:24下载
- 积分:1
-
CPP
学习资料标准C++输入输出流和本地化的程序员手册,附有完整相关类、函数、模板和头文件(learning C++ Standard input and output streams and localized Programmer s GuideTemplate function class header file)
- 2014-12-11 17:26:15下载
- 积分:1
-
modbus
基于RS232物理接口的modbus协议的实现。目前提供三个功能码,并附有proteus仿真文件和整个keil工程文件。
原来在CSDN上下载到的,但是CSDN上面那个无法直接拿来运行.少了一些变量定义之类的.
现在修改好了,可以直接拿来用.(Based on the realization of the RS232 physical interface modbus protocol. Three function code, with proteus simulation file and keil project file. The original the CSDN download to the CSDN above that can not be directly used to run. Less variable definition like now revised, can be directly used.)
- 2020-12-30 13:19:00下载
- 积分:1
-
LMS
1,、设置变量和参量:
X(n)为输入向量,或称为训练样本
W(n)为权值向量
e(n)为偏差
d(n)为期望输出
y(n)为实际输出
η为学习速率
n为迭代次数
2、初始化,赋给w(0)各一个较小的随机非零值,令n=0
3、对于一组输入样本x(n)和对应的期望输出d,计算
e(n)=d(n)-X^T(n)W(n)
W(n+1)=W(n)+ηX(n)e(n)
4、判断是否满足条件,若满足算法结束,若否n增加1,转入第3步继续执行(, set the variables and parameters:
X (n) is the input vector, otherwise known as the training sample
W (n) for the weight vector
e (n) for the deviation
d (n) is the desired output
y (n) is the actual output
η is the learning rate
n is the number of iterations)
- 2011-12-10 20:22:05下载
- 积分:1
-
IIC总线协议
SDA线上的数据在时钟“高”期间必须是稳定的,只有当SCL线上的时钟信号为低时,数据线上的“高”或“低”状态才可以改变。输出到SDA线上的每个字 节必须是8位,每次传输的字节不受限制,每个字节必须有一个应答为ACK。
数据传送具有应答是必须的。与应答对应的时钟脉冲由主控器产生,发送器在应答期间必须下拉SDA线。当寻址的被控器件不能应答时,数据保持为高,接着主控 器产生停止条件终止传输。
ACK: SDA=0;SCL=1;udelay();SCL=0;
NOACK: SDA=1;SCL=1;udelay();SCL=0;
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-02-25 03:09:47下载
- 积分:1
-
C# Huffman算法压缩文件源码
基于huffman编码的思想,可以实现文本文件的压缩与解压缩,当然了其它类型的文件也可以压缩解压缩,但是效果会随文件的不同而不同,可以用于课程设计的参考。
- 2022-03-07 06:21:57下载
- 积分:1
-
实验33:FLASH-SPI
基于STM32F103的SPI实现对EN25Q64进行读写操作(STM32F103,SPI,EN25Q64)
- 2020-06-21 14:40:01下载
- 积分:1
-
xinhao
此程序适合对数字基带信号的仿真,并对两径信道传递函数曲线分析(This program suitable for digital base-band signal simulation, and the two-path channel transfer function curve analysis)
- 2009-03-13 23:11:04下载
- 积分:1
-
websocket
c++ websocket demo,利用C++编写的websocket创建TCP/UDP连接,转载资源,自行下载,6666666666666666666666666666666666666666666
- 2022-06-14 02:22:23下载
- 积分:1
-
EKF-UKF-PF
扩展卡尔曼滤波,无迹卡尔曼滤波,粒子滤波三种算法的比较,matlab程序。(Extended Kalman filter, unscented Kalman filter, the comparison of the particle filter three algorithms, Matlab program.)
- 2013-04-22 16:26:11下载
- 积分:1