虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

万用<b>电表</b>

  • We have a group of N items (represented by integers from 1 to N), and we know that there is some tot

    We have a group of N items (represented by integers from 1 to N), and we know that there is some total order defined for these items. You may assume that no two elements will be equal (for all a, b: a<b or b<a). However, it is expensive to compare two items. Your task is to make a number of comparisons, and then output the sorted order. The cost of determining if a < b is given by the bth integer of element a of costs (space delimited), which is the same as the ath integer of element b. Naturally, you will be judged on the total cost of the comparisons you make before outputting the sorted order. If your order is incorrect, you will receive a 0. Otherwise, your score will be opt/cost, where opt is the best cost anyone has achieved and cost is the total cost of the comparisons you make (so your score for a test case will be between 0 and 1). Your score for the problem will simply be the sum of your scores for the individual test cases.

    标签: represented integers group items

    上传时间: 2016-01-17

    上传用户:jeffery

  • The XML Toolbox converts MATLAB data types (such as double, char, struct, complex, sparse, logical)

    The XML Toolbox converts MATLAB data types (such as double, char, struct, complex, sparse, logical) of any level of nesting to XML format and vice versa. For example, >> project.name = MyProject >> project.id = 1234 >> project.param.a = 3.1415 >> project.param.b = 42 becomes with str=xml_format(project, off ) "<project> <name>MyProject</name> <id>1234</id> <param> <a>3.1415</a> <b>42</b> </param> </project>" On the other hand, if an XML string XStr is given, this can be converted easily to a MATLAB data type or structure V with the command V=xml_parse(XStr).

    标签: converts Toolbox complex logical

    上传时间: 2016-02-12

    上传用户:a673761058

  • 实验十一 数/模转换器 一、实验目的 了解数/模转换器的基本原理

    实验十一 数/模转换器 一、实验目的 了解数/模转换器的基本原理,掌握DAC0832芯片的使用方法。 二、实验内容 1、实验电路原理如图11-1,DAC0832采用单缓冲方式,具有单双极性输入端(图中的Ua、Ub),利用debug输出命令(Out 290 数据)输出数据 给DAC0832,用万用表测量单极性输出端Ua及双极性输出端Ub的电压,验证数字与电压之间的线性关系。 2、编程产生以下波形(从Ub输出,用示波器观察) (1)正弦波 三、编程提示 1、8位D/A转换器DAC0832的口地址为290H,输入数据与输出电压的关系参考实验指导原理图: 2、产生锯齿波只须将输出到DAC0832的数据由0循环递增。产生正弦波可根据正弦函数建一个下弦数字量表,取值范围为一个周期,表中数 据个数在16个以上。

    标签: 实验 模转换器

    上传时间: 2013-12-16

    上传用户:colinal

  • 一、实验目的 了解数/模转换器的基本原理

    一、实验目的 了解数/模转换器的基本原理,掌握DAC0832芯片的使用方法。 二、实验内容 1、实验电路原理如图36,DAC0832采用单缓冲方式,具有单双极性输入端(图中的Ua、Ub),利用debug输出命令(Out 290 数据)输出数据给DAC0832,用万用表测量单极性输出端Ua及双极性输出端Ub的电压,验证数字与电压之间的线性关系。 2、编程产生以下波形(从Ub输出,用示波器观察) (1)锯齿波 三、编程提示 1、8位D/A转换器DAC0832的口地址为290H,输入数据与输出电压的关系为: (UREF表示参考电压,N表示数数据),这里的参考电压为PC机的+5V电源。 2、产生锯齿波只须将输出到DAC0832的数据由0循环递增。

    标签: 实验 模转换器

    上传时间: 2016-03-12

    上传用户:ywqaxiwang

  • gdm-8145电路图

    gdm-8145电路图,台湾固纬公司4位半台式万用表电路图

    标签: 8145 gdm 电路图

    上传时间: 2016-05-20

    上传用户:妄想演绎师

  • 熟悉D/A转换芯片的使用 把待转换的数据送D/A芯片TLC5615

    熟悉D/A转换芯片的使用 把待转换的数据送D/A芯片TLC5615,开启D/A转换 用万用表或者示波器观察输出口(CON36)的电压 硬件要求:拨码开关S8全部置ON 其他拨码开关全部置O

    标签: 5615 TLC 转换芯片 转换

    上传时间: 2013-12-15

    上传用户:zxc23456789

  • LabVIEW编写的控制程序

    LabVIEW编写的控制程序,可与Keithley2000万用表通信控制读取参数

    标签: LabVIEW 编写 控制 程序

    上传时间: 2016-11-09

    上传用户:qweqweqwe

  • 汉诺塔!!! Simulate the movement of the Towers of Hanoi puzzle Bonus is possible for using animation

    汉诺塔!!! Simulate the movement of the Towers of Hanoi puzzle Bonus is possible for using animation eg. if n = 2 A→B A→C B→C if n = 3 A→C A→B C→B A→C B→A B→C A→C

    标签: the animation Simulate movement

    上传时间: 2017-02-11

    上传用户:waizhang

  • 熟悉D/A转换芯片的使用 把待转换的数据送D/A芯片TLC5615

    熟悉D/A转换芯片的使用 把待转换的数据送D/A芯片TLC5615,开启D/A转换 用万用表或者示波器观察输出口(CON36)的电压

    标签: 5615 TLC 转换芯片 转换

    上传时间: 2017-02-17

    上传用户:zhangzhenyu

  • 该仿真主要练习AT89C52 和ADC0808

    该仿真主要练习AT89C52 和ADC0808,能够完成简易数字万用表的功能,可以 测量电阻、电流、电压和电容。

    标签: 0808 89C ADC C52

    上传时间: 2017-02-26

    上传用户:kernaling