This is an interface program for flip flop emulation. At first pulse at the input pin the apropriate output will latch and at the second pulse will release. Very short and efficient program
標簽: apropriate interface emulation the
上傳時間: 2017-04-19
上傳用戶:a3318966
OTSU Gray-level image segmentation using Otsu s method. Iseg = OTSU(I,n) computes a segmented image (Iseg) containing n classes by means of Otsu s n-thresholding method (Otsu N, A Threshold Selection Method from Gray-Level Histograms, IEEE Trans. Syst. Man Cybern. 9:62-66 1979). Thresholds are computed to maximize a separability criterion of the resultant classes in gray levels. OTSU(I) is equivalent to OTSU(I,2). By default, n=2 and the corresponding Iseg is therefore a binary image. The pixel values for Iseg are [0 1] if n=2, [0 0.5 1] if n=3, [0 0.333 0.666 1] if n=4, ... [Iseg,sep] = OTSU(I,n) returns the value (sep) of the separability criterion within the range [0 1]. Zero is obtained only with images having less than n gray level, whereas one (optimal value) is obtained only with n-valued images.
標簽: OTSU segmentation Gray-level segmented
上傳時間: 2017-04-24
上傳用戶:yuzsu
Tiny Planet is small device connected to a GSM cell phone. When the mobile receives a predefined SMS (text message), like "Activate burglar alarm" or "Start backup pump", the circuit automatically recognizes it as a command, and switches the output port accordingly. Besides switching the port on or off, the user can pulse it for a short period (e.g. 鈥淩eboot remote server鈥?.
標簽: predefined connected receives Planet
上傳時間: 2017-05-17
上傳用戶:fanboynet
java面試筆試題大匯總 ~很全面 java面試筆試題大匯總 第一,談談final, finally, finalize的區(qū)別。 最常被問到。 第二,Anonymous Inner Class (匿名內部類) 是否可以extends(繼承)其它類,是否可以implements(實現(xiàn))interface(接口)? 第三,Static Nested Class 和 Inner Class的不同,說得越多越好(面試題有的很籠統(tǒng))。 第四,&和&&的區(qū)別。 這個問得很少。 第五,HashMap和Hashtable的區(qū)別。 常問。 第六,Collection 和 Collections的區(qū)別。 你千萬別說一個是單數一個是復數。 第七,什么時候用assert。 API級的技術人員有可能會問這個。 第八,GC是什么? 為什么要有GC? 基礎。 第九,String s = new String("xyz") 創(chuàng)建了幾個String Object? 第十,Math.round(11.5)等於多少? Math.round(-11.5)等於多少? 第十一,short s1 = 1 s1 = s1 + 1 有什么錯? short s1 = 1 s1 += 1 有什么錯? 面試題都是很變態(tài)的,要做好受虐的準備。 第十二,sleep() 和 wait() 有什么區(qū)
上傳時間: 2017-05-20
上傳用戶:壞壞的華仔
Huffman codes 1.In telecommunication, how do we represent a set of messages, each with an access frequency, by a sequence of 0 s and 1 s? 2.To minimize the transmission and decoding costs, we may use short strings to represent more frequently used messages. 3.This problem can be solved by using an extended binary tree which is used in the 2-way merging problem. the sourse code is to encode and decode the Huffman.
標簽: telecommunication represent messages Huffman
上傳時間: 2013-12-22
上傳用戶:ztj182002
Generate Possion Dis. step1:Generate a random number between [0,1] step2:Let u=F(x)=1-[(1/e)x] step3:Slove x=1/F(u) step4:Repeat Step1~Step3 by using different u,you can get x1,x2,x3,...,xn step5:If the first packet was generated at time [0], than the second packet will be generated at time [0+x1],The third packet will be generated at time [0+x1+x2], and so on …. Random-number generation 1.static method random from class Math -Returns doubles in the range 0.0 <= x < 1.0 2.class Random from package java.util -Can produce pseudorandom boolean, byte, float, double, int, long and Gaussian values -Is seeded with the current time of day to generate different sequences of numbers each time the program executes
標簽: Generate Possion between random
上傳時間: 2017-05-25
上傳用戶:bibirnovis
Compression using lempel-ziv -for a dictionary size of 2k -provide dictionary Lempel ziv algorithm is a dictionary based algorithm that addresses byte sequences from former contents instead of the original data. This algorithm consists of a rule for parsing strings of symbols from a finite alphabet into substrings, whose lengths do not exceed a prescribed integer and a coding scheme which maps these substrings sequentially into uniquely decipherable code words of fixed length. The strings are selected so that they have nearly equal probability of occurrence. Frequently-occurring symbols are grouped into longer strings while occasional symbols appear in short strings.
標簽: dictionary Compression lempel-ziv provide
上傳時間: 2014-01-07
上傳用戶:我們的船長
SFLOP simulates a floating point operation x op y where op = +, -, *, / In chopping or rounding arithmetic using an m digit mantissa, base 10, and an unrestricted exponent range. (sflop: Simulate FLOating Point operation.) For more details on the how the floating point representation of a number is computed see the function sfl.
標簽: simulates operation floating SFLOP
上傳時間: 2017-06-05
上傳用戶:fxf126@126.com
Novell.Press.Linux.Kernel.Development linux內核開發(fā)的經典書籍之一 The Linux kernel is one of the most interesting yet least understood open-source projects. It is also a basis for developing new kernel code. That is why Sams is excited to bring you the latest Linux kernel development information from a Novell insider in the second edition of Linux Kernel Development. This authoritative, practical guide will help you better understand the Linux kernel through updated coverage of all the major subsystems, new features associated with Linux 2.6 kernel and insider information on not-yet-released developments. You ll be able to take an in-depth look at Linux kernel from both a theoretical and an applied perspective as you cover a wide range of topics, including algorithms, system call interface, paging strategies and kernel synchronization. Get the top information right from the source in Linux Kernel Development
標簽: Linux Development interes Novell
上傳時間: 2017-06-06
上傳用戶:songyue1991
Exceptional C++ shows by example how to go about solid software engineering. Along with a lot of other material, this book includes expanded versions of the first 30 issues of the popular Internet C++ feature Guru of the Week (or, in its short form, GotW), a series of self-contained C++ engineering problems and solutions that illustrate specific design and coding techniques.
標簽: Exceptional engineering software example
上傳時間: 2017-06-07
上傳用戶:yt1993410