-
显著性检测方法:LC(matlab实现)
根据Visual Attention Detection in Video Sequences Using Spatiotemporal Cues这篇文章写的matlab程序,欢迎下载
- 2020-11-06下载
- 积分:1
-
fpgrowth的python实现
少有的fpgrowth算法的python实现。只要传入数据集,就可计算出频繁模式集。
- 2020-12-07下载
- 积分:1
-
大气压强传感器BMP280单片机程序
大气压强传感器BMP280单片机程序,主控为C51单片机,包括I2C协议和串口协议,I2C与传感器通信,串口与上位机通信,串口波特率为9600,通信引脚为RXD:3.0,TXD:3.1,I2C通信引脚SCL:1.5,SDA:1.4
- 2020-11-28下载
- 积分:1
-
DAC7724
数模转换芯片和DSP28335的联合开发,其中DAC作为28335的外设进行访问(Digital to analog conversion chip jointly developed and DSP28335, wherein the DAC as 28335 peripheral access)
- 2020-11-13 15:09:43下载
- 积分:1
-
DC_AC
说明: pscad
- 2020-03-26 11:55:51下载
- 积分:1
-
C#把ZPL指令直接发送USB打印机
做项目涉及到打印的,前面用了水晶报表来做。结果客户说打印速度太慢,达不到要求,客户要求在1秒之内一个标签。结果就研究用ZPL指令直接发送到打印机。这速度就提高了。因为绕过了生成报表,打印池。
- 2020-11-29下载
- 积分:1
-
51单片机遥控器控制步进电机程序+论文+原理图
51单片机遥控器控制步进电机程序+论文+原理图 本人毕业设计 按照里面的做 一点都不会错 而且我只破解遥控器的数字码 所以只要是 电视遥控器就一定能用 亲自试验过
- 2020-07-03下载
- 积分:1
-
脱机手写签名识别-要求与源码
模式识别mini project-脱机手写签名识别,这是每个学习模式识别的同学必做的课程设计mini project,主要功能要求如下: 一共有20个人,在其对应的文件夹中存放了每个人的20个手写签名图像,每幅图像均为PCX图像格式,大小为129 94像素大小。 对每个人的手写签名,用其中80%的图像作为训练样本进行训练,用余下的20%的图像进行测试。在签名图像进行特征提取时,提取6 个ET1和6 个DT12轮廓特征。每一个人的手写签名特征假设为48维特征空间的多维高斯分布。用贝叶斯参数估计法估算概率密度函数(pdf),然后用Bayes分类器识别。分别计算close test和open
- 2020-12-12下载
- 积分:1
-
matlab车型识别源程序
这是有关车型识别的matlab程序,完全可以运行~
- 2020-12-05下载
- 积分:1
-
网络ns2仿真实验分析(RED、丢包率、端到端延迟、吞吐量)附源码
网络ns2仿真实验分析(RED、丢包率、端到端延迟、吞吐量)附源码分组的端口号。(10) dst addr:目的地址,格式为 node port,其中node代表分组发送节点的id,pot表示发送分组的端口号。(11) seg num:分组的序列号。(12) okt id:分组的唯标识符。3n2与n3之间的RED队列的半均队列长度与当前队列长度随时间的变化如下图所示:torrent and ave"吧 e PED CueL旧300era已n15000ANA图2平均队列长度与当前队列长度随时问变化的曲线图4运行结果中显示CBR流量总共发包550,丢失16,丢包率为:0.029。丢包率随时间的变化如下图所示:packets of lost rate。045graph自04,03500自020.015图3丢包率随时间变化的关系图5CBR流量的吋延随时间的变化如下图所示:1u彐r10.14心01Q。0图4端到端时延随时间变化的关系图6.节点n2的平均吞吐量随时间的变化如下图所示100T图5节点n2的吞吐量随时间变化的关系头7.结果分析:从RED的图示中,可以看出队列的大小波动变化不是很大,在处理突发的包时冇一定的优势。从丟包率、时延和吞吐量的变化图中,可以看出当丟包率增加时,端到端之问的时延也在增加,而吞吐量则下降,丟包率、时延和吞吐量在表示网络性能的好坏时有一定的关系、相关代码1.络拓扑仿真脚木 simulator:tcl:#Create a simulator objectset ns [new Simulator]#Define different colors for data flows for NAM)Sns color 1 BlueSns color 2#Open the nam trace fileset nt lopen out. nam wSns namtrace-all Snfset nd [open out. tr wISns trace-all Snd#Define a finish procedureproc finish仆}{global ns nf ndSns flush-traceclose Snfclose sndexec nam out. namkit o#Create four nodesset no [Sns node]et n1 [Sns nodelset n2 [Sns nodeset n3 [ns node]#Create links between the nodesSns duplex-link Sn0 Sn2 2Mb 10ms DropTailSns duplex-link Sn1 Sn2 2Mb 10ms DropTailSns duplex- link Sn2 Sn3 1.7Mb 20ms RED#Set queue Size of link (n2-n3 to 100Sns queue-limit Sn2 Sn 3 100#Give node position(for NAm)Sns duplex-link-op SnO Sn2 orient right-downSns duplex-link-op Sn1 Sn2 orient right-upSns duplex-link-op $n2 Sn3 orient right#Monitor the queue for link(n2-n3 .( for NAM)Sns duplex-link-op Sn2 Sn 3 queuePos 0.5#Setup a TCP connectionset tcp new Agent/TCPISns attach-agent Sno Stcpset sink [new Agent/TCPSinkSns attach-agent sn3 SinkSns connect stcp SinkStcp set fid 1#Setup a FTP over TCP connectionset ftp [new Application/FTPlSftp attach-agent StcpSftp set type FTPfsetup a UdP connectionset udp [new Agent/UDP]Sns attach-agent Sn1 udpset null [new Agent/Nul]Sns attach-agent Sn3 SnullSns connect Udp SnullUdp set fid_ 2#Setup a CBr over UDP connectionset cbr [new application/Traffic/ CBRIScbr attach-agent UdpScbr set type CBrScbr set packet size 1000Scbr set rate 1mbScbr set random false#Schedule events for the cbr and ftp agentsSns at0.1 Scbr startSns at 1.0"Sftp start"Sns at 40.0"Sftp stop"Sns at 4.5"Scbr stop"#Detach tcp and sink agentsSns at 50 Sns detach-agent $no stcp; Sns detach-agent sn3 Sink"Sns at 50.0 finish#monitor n2 and n3 queueset redg [[sns link Sn2 Sn3] queueset traceq lopen redQueue tr wSredg trace curgSredg trace aveSredg attach Strace#Run the simulationns rur2.RED的数据处理脚本:SgreparedQueue. tr>averagetrStrep“Q" reqUeuetr> current tr(中 reqUeue tr为跟踪n2和n3队列产生的文件)然后使用 gnuplot工具使用 average tr和 current, tr绘制队列随时间变化的曲线3.丢包率数据awk处理脚本 graph rostRate,awvk#count the packet lost rate of cBri=0;vente=S2;from Node =$3toNode=s4:pitT$7srcAddr=$9dstAddr=$10gNum = $11if (fromNode ==1 & toNode ==2&& event==+i totalNum++timeArr[i=timesrate[i]= float)(drop Num/tif(fid==2&& event==d")dropNum++ENDprintf("#number of packet sent: %od, lost: %d"totalNum, dropNum)printf( #lost rate of packets: %f",dropNum/totalNumfor(j=0; j
- 2020-12-06下载
- 积分:1