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

空间<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

  • 脉冲发生器

    脉冲发生器,可实现脉宽和幅度的任意调节。相信对大家有用。

    标签: 脉冲发生器

    上传时间: 2016-05-18

    上传用户:kytqcool

  • 本程序实现了一个信号发生器。此信号发生器是由两个完全相同的可自加载加法计数器LCNT8组成

    本程序实现了一个信号发生器。此信号发生器是由两个完全相同的可自加载加法计数器LCNT8组成,它的输出信号的高低电平脉宽可分别由两组8位预置数进行控制。

    标签: LCNT8 信号发生器 程序 加法

    上传时间: 2014-01-04

    上传用户:hoperingcong

  • 智能充电器实例 功能:通过定时器定时从AD上读取数据

    智能充电器实例 功能:通过定时器定时从AD上读取数据,根据不同的电压选择不同的控制 充电方案,使用PWM控制输出脉宽来控制电流

    标签: 智能充电器 定时器 定时 数据

    上传时间: 2016-07-01

    上传用户:baiom

  • 把原先的快走丝设备改进

    把原先的快走丝设备改进,可以对快走丝的电压,电流,丝速,脉间,脉宽进行控制,友好的人机界面

    标签: 设备

    上传时间: 2016-07-30

    上传用户:1109003457

  • 道格拉斯数据压缩算法。 算法特征:1.在不扰乱拓扑关系的前提下

    道格拉斯数据压缩算法。 算法特征:1.在不扰乱拓扑关系的前提下,对采样点数据进行合理的抽稀 2.对矢量坐标数据进行重新进行编码,以减少所需要的存储空间 3.矢量数据的压缩往往是不可逆的,数据压缩后,数据量变小了,数据的精度降低了

    标签: 算法 数据压缩 拓扑关系 特征

    上传时间: 2016-08-19

    上传用户:lili123

  • MCU主频12MHz

    MCU主频12MHz,软PWM控制IO模拟。PWM脉宽调节10uS PWM频率20mS=50Hz, PWM高电平脉宽700uS~2300uS,PWM低电平脉宽19300uS~17700uS "零耗时"并非不耗时。只是没用软件空等待等恼人的函数。 其主要原理是利用低频宽脉冲软PWM信号的“低速”而T2的16位定时器自动装载功能。 T2在每个PWM周期内中断两次。即PWM高电平和PWM低电平各中断1次。 合理应用RCAP2的预装载功能并进行简单的减法运算而轻松完成任务的要求。

    标签: MCU MHz 12 主频

    上传时间: 2014-11-18

    上传用户:wpt

  • 8位十六进制频率计设计 根据频率的定义和频率测量的基本原理

    8位十六进制频率计设计 根据频率的定义和频率测量的基本原理,测定信号的频率必须有一个脉宽为1s的输入信号脉冲计数允许信号;1s计数结束后,计数值被锁入锁存器,计数器清零,为下一测频计数周期做好准备。测频控制信号可由一个独立的发生器(FTCTRL)来产生。

    标签: 8位 十六进制 频率计设 频率

    上传时间: 2013-12-26

    上传用户:咔乐坞

  • 使用TI的2812DSP

    使用TI的2812DSP,在CCS下编译,用于测试2812特有的事件管理器的PWM波形输出,通过示波器可以看到PWM脉宽的变化响应。

    标签: 2812 DSP

    上传时间: 2017-01-25

    上传用户:wang5829