The LM35 of National Semiconductors that is used in this project is a precision centigrade temperature sensor, which has an analog output voltage. It has a range of -55潞C to +150潞C and a accuracy of 鹵0.5潞C . The output voltage is 10mV/潞C . The output voltage is converted by the AD convertor of the AT Mega8. The temperature is displayed on an LCD module. In this example the thermometer has a range of 0潞C to 40潞C and a resolution of 0.5潞C. If you want to have a readout in Fahrenheit you can use the LM34.
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.
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
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.
Novell.Press.Linux.Kernel.Development
linux內核開發的經典書籍之一
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
I implemented a perfect file transfer OCX client/server. I created a perfect function to parse and split the data. The source file size is equal to destination. NO LOSS OF DATA in the packets!
Historique de Linux
Connexion au système
Présentation de kde
Fichiers et répertoires
Notions d identifiant et de groupe
Les processus
Les droits d accès
Le shell
Gestion des entrées/sorties
Les commandes tee/grep/cut/split/paste/comm/sort/diff/wc/find
La commande sed
La commande awk
Les scripts shell
Les sauvegardes
Automatisation de tâ ches
Introduction
? ?
The ARM Cortex -A8 microprocessor is the first applications microprocessor in ARM!ˉs
new Cortex family. With high performance and power efficiency, it targets a wide
variety of mobile and consumer applications including mobile phones, set-top boxes,
gaming consoles and automotive navigation/entertainment systems. The Cortex-A8
processor spans a range of performance points depending on the implementation,
delivering over to 2000 Dhrystone MIPS (DMIPS) of performance for demanding
consumer applications and consuming less than 300mW for low-power mobile devices.
This translates into a large increase in processing capability while staying with the
power levels of previous generations of mobile devices. Consumer applications will
benefit from the reduced heat dissipation and resulting lower packaging and integration
costs.