登录
首页 » matlab » Binary_Search

Binary_Search

于 2011-03-24 发布 文件大小:3KB
0 226
下载积分: 1 下载次数: 0

代码说明:

说明:  二分法检索(binary search)又称折半检索,二分法检索的基本思想是设字典中的元素从小到大有序地存放在数组(array)中,   首先将给定值key与字典中间位置上元素的关键码(key)比较,如果相等,则检索成功;(Dichotomy search (binary search), also known as binary search, the basic idea of ??dichotomy is set to retrieve the dictionary from small to large elements stored in an orderly array (array), the first key the given value on the middle element of the dictionary The key code (key) comparison, if they are equal, then the retrieval success )

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • PSO
    基本的群智能算法MatLab范例程式,对刚接触PSO的新手来说,可以有初步的认知(Basic particle swarm optimization source code)
    2009-02-26 11:38:43下载
    积分:1
  • filter_design
    用窗函数法实现了FIR数字滤波器的仿真,包括五种窗与低通,高通、带通、带阻四种类型的组和,可实现20种滤波器的设计(FIR filter design)
    2010-11-06 14:57:22下载
    积分:1
  • 1
    说明:  微网模糊控制,含原理图,混合储能作为一种可 调度资源应用于直流微电网系统 (Micro network fuzzy control, including schematic diagram.Hybrid energy storage as a kind of scheduling Ksource applied DC micro grid system )
    2016-06-12 10:02:24下载
    积分:1
  • matlaborder
    matlab 常用命令,如:hold on 用于保留当前图形和当前坐标轴属性,后面的图形命令只能在当前存在的坐标轴中增加图形,即设置当前坐标轴属性NexPlot为add,(matlab commonly used commands, such as: hold on to retain the current graphics and the current axes properties, behind the graphics commands only exist in the current axes to add graphics, or set the current axes properties NexPlot for the add,)
    2008-04-09 22:22:25下载
    积分:1
  • vsg
    虚拟同步发电机,可用于实验和教学,内容丰富( Virtual synchronous generators can be used for teaching and experimentation)
    2017-04-24 17:06:04下载
    积分:1
  • drawing
    说明:  利用normrnnd函数生成1000个标准正态分布随机数,绘制频率直方图和经验分布图(Using normrnnd function to generate 1000 standard normal distribution random numbers, and draw frequency histogram and empirical distribution map)
    2020-12-13 15:54:36下载
    积分:1
  • ahpmatlab
    层次分析法的Matlab程序。层次分析法是利用数学方法计算反映每一层次元素的相对重要性次序的权值,通过所有层次之间的总排序计算所有元素的相对权重并进行排序。(Analytic Hierarchy Process using Matlab)
    2010-07-28 23:47:17下载
    积分:1
  • MIMO-water-filling
    这是一个MIMO信道容量的计算。使用SVD分解和注水定理。(This is a MIMO channel capacity calculations. Using the SVD decomposition and water-filling.)
    2011-04-26 11:21:14下载
    积分:1
  • metal_reflection_meep
    在MIT的meep中,用来计算银表面的折射率和吸收率。用于FDTD算法。(Meep at MIT, the silver surface used to calculate the refractive index and absorption rate. For the FDTD algorithm.)
    2013-07-26 22:11:07下载
    积分:1
  • jointhsuhuj
    联合对角化,对信号进行预处理,处理信号,作为信号分离的预处理(Joint diagonalization of the signal preprocessing, signal processing, signal separation as pre)
    2013-09-17 15:36:21下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载