文件组合合并. 该程序用于将两个文件(可以是txt或xls文件)进行组合合并,例如假设A.txt文件中含有‘00’和‘01’两行,B.txt文件中含有‘aa’和‘ bb’两行,则合并后的文件AB.txt文件中含有‘00aa’、‘ 00bb’、‘01aa’和‘ 01bb’四行。
上传时间: 2014-12-04
上传用户:liansi
本文分析了永磁同步直线电动机的运行机理与运行特性,并通过坐标变换,分别得出了电机在a—b—c,α—β、d—q坐标系下的数学模型。针对永磁同步直线电机模型的非线性与耦合特性,采用了次级磁场定向的矢量控制,并使id=0,不但解决了上述问题,还实现了最大推力电流比控制。为了获得平稳的推力,采用了SVPWM控制,并对它算法实现进行了研究。 针对速度环采用传统PID控制难以满足高性能矢量控制系统,通过对传统PID控制和模糊控制理论的研究,将两者相结合,设计出能够在线自整定的模糊PID控制器。将该控制器代替传统的PID控制器应用于速度环,以提高系统的动静态性能。 在以上分析的基础上,设计了永磁同步直线电机矢量控制系统的软、硬件。其中电流检测采用了新颖的电流传感器芯片IR2175,以解决温漂问题;速度检测采用了增量式光栅尺,设计了与DSP的接口电路,通过M/T法实现对电机的测速。最后在Matlab/Simlink下建立了电机及其矢量控制系统的仿真模型,并对分别采用传统PID速度控制器和模糊PID速度控制器的系统进行仿真,结果表明采用模糊PID控制具有更好的动态响应性能,能有效的抑制暂态和稳态下的推力脉动,对于负载扰动具有较强的鲁棒性。
上传时间: 2013-07-04
上传用户:13681659100
prolog 找路例子程序: === === === === === === Part 1-Adding connections Part 2-Simple Path example | ?- path1(a,b,P,T). will produce the response: T = 15 P = [a,b] ? Part 3 - Non-repeating path As an example, the query: ?- path2(a,h,P,T). will succeed and may produce the bindings: P = [a,depot,b,d,e,f,h] T = 155 Part 4 - Generating a path below a cost threshold As an example, the query: ?- path_below_cost(a,[a,b,c,d,e,f,g,h],RS,300). returns: RS = [a,b,depot,c,d,e,g,f,h] ? RS = [a,c,depot,b,d,e,g,f,h] ? no ==================================
标签: Part connections example prolog
上传时间: 2015-04-24
上传用户:ljt101007
(1) 、用下述两条具体规则和规则形式实现.设大写字母表示魔王语言的词汇 小写字母表示人的语言词汇 希腊字母表示可以用大写字母或小写字母代换的变量.魔王语言可含人的词汇. (2) 、B→tAdA A→sae (3) 、将魔王语言B(ehnxgz)B解释成人的语言.每个字母对应下列的语言.
上传时间: 2013-12-30
上传用户:ayfeixiao
欧几里德算法又称辗转相除法,用于计算两个整数a,b的最大公约数。
上传时间: 2016-04-12
上传用户:黄华强
1) Write a function reverse(A) which takes a matrix A of arbitrary dimensions as input and returns a matrix B consisting of the columns of A in reverse order. Thus for example, if A = 1 2 3 then B = 3 2 1 4 5 6 6 5 4 7 8 9 9 8 7 Write a main program to call reverse(A) for the matrix A = magic(5). Print to the screen both A and reverse(A). 2) Write a program which accepts an input k from the keyboard, and which prints out the smallest fibonacci number that is at least as large as k. The program should also print out its position in the fibonacci sequence. Here is a sample of input and output: Enter k>0: 100 144 is the smallest fibonacci number greater than or equal to 100. It is the 12th fibonacci number.
标签: dimensions arbitrary function reverse
上传时间: 2016-04-16
上传用户:waitingfy
1.有三根杆子A,B,C。A杆上有若干碟子 2.每次移动一块碟子,小的只能叠在大的上面 3.把所有碟子从A杆全部移到C杆上 经过研究发现,汉诺塔的破解很简单,就是按照移动规则向一个方向移动金片: 如3阶汉诺塔的移动:A→C,A→B,C→B,A→C,B→A,B→C,A→C 此外,汉诺塔问题也是程序设计中的经典递归问题
上传时间: 2016-07-25
上传用户:gxrui1991
欧姆龙CPM2A PLC利用自身时钟六段定时程序;清晨01.00、0102、0104、0106、0108、0110打开,三秒后关闭,时间可任意修改,可作为触发信号。
上传时间: 2017-04-01
上传用户:685
Program Description: The program asks the user to choice from the menu an option A. Check to see if a number is prime. B. Count the number of vowels in a line. X. Exit the program.
标签: Description the Program program
上传时间: 2017-04-08
上传用户:磊子226
构造大数运算类 +;-;*;/ 并测试。<br>1. 不考虑括号 <br>2. 输入数据最大长度为40 位,要捕获异常 <br>3. 不考虑输入小数部分,<br>4. 测试要完整,先输入两个数,可输出上面两个数的运算结果 <br>5. 需要输出商和余数
上传时间: 2017-04-16
上传用户:开怀常笑