FFT实现序列离散傅立叶变换,输入序列,输出序列的傅立叶变换结果。
上传时间: 2014-01-01
上传用户:Pzj
7、反转姓名字符串,例如:输入James Levis输出Levis James 主程循环读入三个字符串,并分别输出其反转后的结果
标签: 字符串
上传时间: 2013-12-04
上传用户:jiahao131
哈夫曼编码的源程序,可以使用txt文件进行输入,并且输出到txt文件中。并且可以实现书结构的显示。
上传时间: 2016-01-11
上传用户:wangyi39
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) 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-03-11
上传用户:anng
实现了的词法分析和语法分析,输入源代码,输出的是语法树。
标签: 分
上传时间: 2016-03-17
上传用户:牛布牛
(1)变换模块 本模块包含两部分内容:利用 反变换规则将 坐标系下的两相电流转换成三相电流;利用间接矢量控制,得到转子角位移,公式如下(2) 电流滞环控制器(Hysteresis current controller)模块(3) 电压源型逆变器(Voltage sourse inverter,VSI)模块 (4) 变换模块(5) 感应电机(IM)模块 该感应电机模型是基于交流电机的电路方程、转矩方程以及运动方程建立起来的。该仿真模块为一个三输入、六输出的系统子模块。输入为 坐标系中定子电压,输出则是 坐标系中的转子电流和转子磁链,以及输出的转矩。(6) 电流反馈模块(7)速度控制器模块
上传时间: 2014-03-10
上传用户:yy541071797
无线ZIGBEE应用,用于模拟开关输入和LED输出,方便硬件电路和通信协议的调试。
上传时间: 2013-12-26
上传用户:maizezhen
1、二进制、八进制、十进制及十六进制数的加、减、乘、除、乘方、取模等简单计算 2、科学计算函数,包括(反)正弦、(反)余弦、(反)正切、(反)余切、开方、指数等函数运行 3、以角度、弧度两种方式实现上述部分函数(对操作时计算结果能无限次随意进行角度和弧度转换) 4、具备历史计算的记忆功能(输入和计算结果表达式能查找历史表达式,如不存在放进历史表达式框中去,如存在则不做历史存储操作,并能从历史中找出来反射到输入框和输出框。) 5、对不正确的表达式能指出其错误原因
上传时间: 2013-12-01
上传用户:xjz632