Program to simulate Rayleigh fading using a p-th order autoregressive model AR(p) according to % Baddour s work: "Autoregressive modeling for fading channel simulation"
標(biāo)簽: autoregressive according simulate Rayleigh
上傳時(shí)間: 2013-12-02
上傳用戶:tb_6877751
1、 了解系統(tǒng)調(diào)用fork()、execl()、exit()、getpid()和waitpid()的功能和實(shí)現(xiàn)過程 2、 編寫一段程序?qū)崿F(xiàn)以下功能: a) 使用系統(tǒng)調(diào)用fork()創(chuàng)建兩個(gè)子進(jìn)程 b) 父進(jìn)程重復(fù)顯示字符串”parent:”,并使用函數(shù)getpid()顯示自己的進(jìn)程ID。 c) 兩個(gè)子進(jìn)程分別重復(fù)顯示字符串”child:”,并使用函數(shù)getpid()顯示自己的進(jìn)程ID 3、 編寫一段程序?qū)崿F(xiàn)以下功能: a) 使用系統(tǒng)調(diào)用fork()創(chuàng)建一個(gè)子進(jìn)程 b) 子進(jìn)程顯示自己的進(jìn)程ID和字符串": The child is calling an exec.\n",然后通過execl()調(diào)用系統(tǒng)命令ps顯示當(dāng)前運(yùn)行的進(jìn)程情況,從而更換自己的執(zhí)行代碼,最后調(diào)用exit()結(jié)束。 c) 父進(jìn)程顯示自己的進(jìn)程ID和字符串” ": The parent is waiting for child to exit.\n ",然后調(diào)用waitpid()等待子進(jìn)程結(jié)束,并在子進(jìn)程結(jié)束后顯示”The parent exit.\n
標(biāo)簽: fork waitpid getpid execl
上傳時(shí)間: 2013-12-18
上傳用戶:葉山豪
This section contains a brief introduction to the C language. It is intended as a tutorial on the language, and aims at getting a reader new to C started as quickly as possible. It is certainly not intended as a substitute for any of the numerous textbooks on C. 2. write a recursive function FIB (n) to find out the nth element in theFibanocci sequence number which is 1,1,2,3,5,8,13,21,34,55,…3. write the prefix and postfix form of the following infix expressiona + b – c / d + e * f – g * h / i ^ j4. write a function to count the number of nodes in a binary tr
標(biāo)簽: introduction the contains intended
上傳時(shí)間: 2013-12-23
上傳用戶:liansi
by Randal L. Schwartz and Tom Phoenix ISBN 0-596-00132-0 Third Edition, published July 2001. (See the catalog page for this book.) the text of Learning Perl, 3rd Edition. Table of Contents Copyright Page Preface Chapter 1: Introduction Chapter 2: Scalar Data Chapter 3: Lists and Arrays Chapter 4: Subroutines Chapter 5: Hashes Chapter 6: I/O Basics Chapter 7: Concepts of Regular Expressions Chapter 8: More About Regular Expressions Chapter 9: Using Regular Expressions Chapter 10: More Control Structures Chapter 11: Filehandles and File Tests Chapter 12: Directory Operations Chapter 13: Manipulating Files and Directories Chapter 14: Process Management Chapter 15: Strings and Sorting Chapter 16: Simple Databases Chapter 17: Some Advanced Perl Techniques Appendix A: Exercise Answers Appendix B: Beyond the Llama Index Colophon
標(biāo)簽: L. published Schwartz Edition
上傳時(shí)間: 2014-11-29
上傳用戶:kr770906
by Randal L. Schwartz and Tom Phoenix ISBN 0-596-00132-0 Third Edition, published July 2001. (See the catalog page for this book.) Learning Perl, 3rd Edition. Table of Contents Copyright Page Preface Chapter 1: Introduction Chapter 2: Scalar Data Chapter 3: Lists and Arrays Chapter 4: Subroutines Chapter 5: Hashes Chapter 6: I/O Basics Chapter 7: Concepts of Regular Expressions Chapter 8: More About Regular Expressions Chapter 9: Using Regular Expressions Chapter 10: More Control Structures Chapter 11: Filehandles and File Tests Chapter 12: Directory Operations Chapter 13: Manipulating Files and Directories Chapter 14: Process Management Chapter 15: Strings and Sorting Chapter 16: Simple Databases Chapter 17: Some Advanced Perl Techniques Appendix A: Exercise Answers Appendix B: Beyond the Llama Index Colophon
標(biāo)簽: L. published Schwartz Edition
上傳時(shí)間: 2015-09-03
上傳用戶:lifangyuan12
Implemented BFS, DFS and A* To compile this project, use the following command: g++ -o search main.cpp Then you can run it: ./search The input is loaded from a input file in.txt Here is the format of the input file: The first line of the input file shoud contain two chars indicate the source and destination city for breadth first and depth first algorithm. The second line of input file shoud be an integer m indicate the number of connections for the map. Following m lines describe the map, each line represents to one connection in this form: dist city1 city2, which means there is a connection between city1 and city2 with the distance dist. The following input are for A* The following line contains two chars indicate the source and destination city for A* algorithm. Then there is an integer h indicate the number of heuristic. The following h lines is in the form: city dist which means the straight-line distance from the city to B is dist.
標(biāo)簽: Implemented following compile command
上傳時(shí)間: 2014-01-01
上傳用戶:lhc9102
BNB20 Finds the constrained minimum of a function of several possibly integer variables. % Usage: [errmsg,Z,X,t,c,fail] = % BNB20(fun,x0,xstatus,xlb,xub,A,B,Aeq,Beq,nonlcon,settings,options,P1,P2,...) % % BNB solves problems of the form: % Minimize F(x) subject to: xlb <= x0 <=xub % A*x <= B Aeq*x=Beq % C(x)<=0 Ceq(x)=0 % x(i) is continuous for xstatus(i)=0 % x(i) integer for xstatus(i)= 1 % x(i) fixed for xstatus(i)=2 %
標(biāo)簽: constrained variables function possibly
上傳時(shí)間: 2014-01-13
上傳用戶:youth25
The Staged Event-Driven Architecture (SEDA) is a new design for building scalable Internet services. SEDA has three major goals: To support massive concurrency, on the order of tens of thousands of clients per node To exhibit robust performance under wide variations in load and, To simplify the design of complex Internet services. SEDA decomposes a complex, event-driven application into a set of stages connected by queues. This design avoids the high overhead associated with thread-based concurrency models, and decouples event and thread scheduling from application logic. SEDA enables services to be well-conditioned to load, preventing resources from being overcommitted when demand exceeds service capacity. Decomposing services into a set of stages also enables modularity and code reuse, as well as the development of debugging tools for complex event-driven applications.
標(biāo)簽: Event-Driven Architecture Internet building
上傳時(shí)間: 2015-09-28
上傳用戶:日光微瀾
acm HDOJ 1051WoodenSticks Description: There is a pile of n wooden sticks. The length and weight of each stick are known in advance. The sticks are to be processed by a woodworking machine in one by one fashion. It needs some time, called setup time, for the machine to prepare processing a stick. The setup times are associated with cleaning operations and changing tools and shapes in the machine. The setup times of the woodworking machine are given as follows: (a) The setup time for the first wooden stick is 1 minute. (b) Right after processing a stick of length l and weight w , the machine will need no setup time for a stick of length l and weight w if l<=l and w<=w . Otherwise, it will need 1 minute for setup.
標(biāo)簽: WoodenSticks Description length wooden
上傳時(shí)間: 2014-03-08
上傳用戶:netwolf
Delphi and C++ Builder component for direct access to IO ports on Windows 95, Windows 98 and Windows NT/2000. Provides properties for reading and writing bytes, words and doublewords from/to IO ports. New fast block data transfer methods enable to read and write megabytes of data per second.
標(biāo)簽: Windows and component Builder
上傳時(shí)間: 2015-10-25
上傳用戶:bjgaofei
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1