1

المرجع الالكتروني للمعلوماتية

تاريخ الرياضيات

الاعداد و نظريتها

تاريخ التحليل

تار يخ الجبر

الهندسة و التبلوجي

الرياضيات في الحضارات المختلفة

العربية

اليونانية

البابلية

الصينية

المايا

المصرية

الهندية

الرياضيات المتقطعة

المنطق

اسس الرياضيات

فلسفة الرياضيات

مواضيع عامة في المنطق

الجبر

الجبر الخطي

الجبر المجرد

الجبر البولياني

مواضيع عامة في الجبر

الضبابية

نظرية المجموعات

نظرية الزمر

نظرية الحلقات والحقول

نظرية الاعداد

نظرية الفئات

حساب المتجهات

المتتاليات-المتسلسلات

المصفوفات و نظريتها

المثلثات

الهندسة

الهندسة المستوية

الهندسة غير المستوية

مواضيع عامة في الهندسة

التفاضل و التكامل

المعادلات التفاضلية و التكاملية

معادلات تفاضلية

معادلات تكاملية

مواضيع عامة في المعادلات

التحليل

التحليل العددي

التحليل العقدي

التحليل الدالي

مواضيع عامة في التحليل

التحليل الحقيقي

التبلوجيا

نظرية الالعاب

الاحتمالات و الاحصاء

نظرية التحكم

بحوث العمليات

نظرية الكم

الشفرات

الرياضيات التطبيقية

نظريات ومبرهنات

علماء الرياضيات

500AD

500-1499

1000to1499

1500to1599

1600to1649

1650to1699

1700to1749

1750to1779

1780to1799

1800to1819

1820to1829

1830to1839

1840to1849

1850to1859

1860to1864

1865to1869

1870to1874

1875to1879

1880to1884

1885to1889

1890to1894

1895to1899

1900to1904

1905to1909

1910to1914

1915to1919

1920to1924

1925to1929

1930to1939

1940to the present

علماء الرياضيات

الرياضيات في العلوم الاخرى

بحوث و اطاريح جامعية

هل تعلم

طرائق التدريس

الرياضيات العامة

نظرية البيان

الرياضيات : الرياضيات التطبيقية :

Transmitting Data-Variable-Length Codes

المؤلف:  W.D. Wallis

المصدر:  Mathematics in the Real World

الجزء والصفحة:  150-151

16-2-2016

2192

Linear codes are necessarily fixed-length. Many codes are like this, but some codes use different length words.

One well-known example is the Morse code. It was designed for sending Englishlanguage messages by telegraph, and it was desirable to make the transmissions as short as possible. For this reason, those letters that occur most commonly in English have shorter representations.

The Morse code is binary. The two symbols are the dot and the dash, where the dot is a short transmission and the dash is a longer one, as long as three dots. Each dot or dash is followed by a short silence, equal to the dot duration; the letters of a word are separated by a silence equal to three dots (one dash), and two words are separated by a space equal to seven dots. For convenience, we shall represent the dot by 0 and the dash by 1. Table 1.1 shows the Morse code for letters, and also the approximate frequency of letters in English. Table 1.2 shows how numbers are represented in the code.

Sample Problem 1.1 How is the phrase “bring food” represented in Morse code?

Solution. 1000 010 00 10 110 0010 111 111 100

The Morse code is an example of a variable-length code. Some variable-length codes use a break to symbolize the end of a word, either a physical break in transmission (like the Morse code) or an “end-of-line” symbol; in others, the codewords can include information that signals the end of the word. For example, if every codeword ends in 00, and there are never two consecutive 0s in a word, each 00 would tell you when a word ends.

Another important example is the genetic code. Genes are built from four nucleotides: adenine, thymine, Guanine, and cytosine. A gene can be specified by a sequence of these, usually represented by the initials A, T, G, and C.

Suppose we want to use a binary code to represent a genetic string. One possibility is to use the codewords 00 for A, 01 for C, 10 for G, and 11 for T.

For example, AACAGTAAAC would be represented by 00000100101100000001  (20 symbols).

It happens that A is most common in genetic strings, then C, then T and G. We could try the following encoding:

0 for A, 10 for C, 110 for T, 111 for G.

Then AACAGTAAAC is represented by 0010011111000010 (16 symbols). We shall call this the genetic code. Notice that, in the suggested encoding method, every time 111 occurs, it is the codeword for G, and every time a 0 occurs, it is at the end of a codeword. Moreover, the only way a codeword can end is with 0 or 111. So here is a technique for decoding the genetic code. First, put commas after each occurrence of 0 or 111. Then decode the strings between the commas. For example, the string

001100101110110110000010

is written

0,0,110,0,10,111,0,110,110,0,0,0,0,10

which decodes to

AATACGATTAAAAC.

 

EN

تصفح الموقع بالشكل العمودي