Linear Block Codes Vector Spaces

Total Page:16

File Type:pdf, Size:1020Kb

Linear Block Codes Vector Spaces Linear Block Codes Vector Spaces Let GF(q) be fixed, normally q=2 • The set Vn consisting of all n-dimensional vectors (a n-1, a n-2,•••a0), ai ∈ GF(q), 0 ≤i ≤n-1 forms an n-dimensional vector space. • In Vn, we can also define the inner product of any two vectors a = (a n-1, a n-2,•••a0) and b = (b n-1, b n-2,•••b0) n−1 i ab= ∑ abi i i=0 • If a•b = 0, then a and b are said to be orthogonal. Linear Block codes • Let C ⊂ Vn be a block code consisting of M codewords. • C is said to be linear if a linear combination of two codewords C1 and C2, a 1C1+a 2C2, is still a codeword, that is, C forms a subspace of Vn. a 1, ∈ a2 GF(q) • The dimension of the linear block code (a subspace of Vn) is denoted as k. M=qk. Dual codes Let C ⊂Vn be a linear code with dimension K. ┴ The dual code C of C consists of all vectors in Vn that are orthogonal to every vector in C. The dual code C┴ is also a linear code; its dimension is equal to n-k. Generator Matrix Assume q=2 Let C be a binary linear code with dimension K. Let {g1,g2,…gk} be a basis for C, where gi = (g i(n-1) , g i(n-2) , … gi0 ), 1 ≤i≤K. Then any codeword Ci in C can be represented uniquely as a linear combination of {g1,g2,…gk}. ⋯ Cxg=1 1 ++ xgxk k, i ∈ GF (2) Generator Matrix (cntd) Construct a matrix G as follows g1 g2 x =(x ,…x ) C=xG =x g +…+x g G = 1 k G 1 1 k k ⋮ gK G is called a generator matrix for G since G can be used to directly encode the K information bits into a codeword C Dual code C┴ is also a linear code. Generator Matrix for Dual Code (Parity Matrix) h1 h H=2 , hhh = (⋯ h ) ⋮ i in(− 1), in ( − 2), i 0 hn− K {h 1,…hk} is a basis for C┴┴┴. Since C and C┴ are orthogonal, it follows that HG’ = 0<---- (n-k) x k matrix with all elements 0 In particular 0 Ci = (C i1 , C i2 , … Cin ) iff HC i’ = The matrix H is called a parity check matrix for C. A linear block code can be described by either its generator matrix or parity check matrix. However, G and H are not unique. Systematic Code ⋮ G= [ IKXK P ] ⋮ H= − P' I (n− K )( X n − K ) P is kx(n-k) matrix Ci = xiG = (xi xip) where xi = (x i1 , x i2 , …xik ) is the k information bits In the codeword Ci, the first k bits are the information bits, and the remaining n-k bits are linear combinations of the k information bits. The remaining n-k bits add correlation into the codeword Ci, and are called parity check bits . Non-Systematic Code • One can always convert a non-systematic code into an equivalent systematic code by performing a proper vector coordinate permutation, for example, using Gaussian elimination and a proper column permutation. • Gaussian elimination don’t alter the codebook. • Column reordering, may change the codebook. However, for AWGN channel and discrete memoryless channel, the resulting linear code has the same performance as the original code. Example 0011101 G = 01 00111 1 00111 0 Express G in system form? Determine the parity check matrix H? Linear Block Code (cntd) ⊂ •A binary linear code C Vn with dimension k is sometimes referred to as an [n,k,d] code, where d is the Hamming distance of C. •Given any vector a=(a n-1, a n-2,•••a0) in Vn, the weight of a is the number of nonzero ai, and is denoted by wt(a). wt(1100110) =4 •The Hamming distance d of a linear code C is equal to the minimum weight of nonzero codewords. d≜ min dab (,)= min wtab ( − ) ab,∈C ab , ∈ C ab≠ ab ≠ = minwt ( a ) a∈C a≠0 Example Hamming code (7,4,3) 1000101 0100111 G = 0010110 0001011 H? Example, encode 1100 Parity check bits? d=3 Linear Block Code (cntd) Theorem 5.1.2: Let C be an [ n, k, d] code with a parity check matrix H. Then every d-1 columns of H are linearly independent and some d columns are linear dependent Theorem 5.1.3( the singleton bound): If C is an [ n, k, d] code, then d≤n-k+1. If d = n – k +1, then the corresponding [n, k, d] code C is called maximum distance separable (MDS). Construction of New codes from Old Adding an Overall Parity Check Let C be an [ n, k, d ] code with a parity check matrix H. suppose that some codewords in C have odd weights. a) We add a 0 bit at the end of every codeword of C with even weight b) We add a 1 bit at the end of every codeword of C with odd weight The resulting code C’ has a parity check matrix 0 H 0 11 ··· 11 Every new codeword in C’ has even weight, C’ is called the extended code of C, and is an [ n, k, d’ ] code d if d is even d ' = d +1 if d is odd Shortening a code by taking a cross-section •Take all codewords in an [n, k, d] code C that begin with 0 and delete the first coordinate, we then get a shortened [n-1,k-1,d’] code C’, where d’≥d. •Repeat this process l times, one may get a shortened [n-l, k-l, d”] code, where d” ≥d. Some Specific Linear Block Codes [2 m-1, 2 m-1-m,3] Hamming codes •The parity check matrix H has the property that the column vectors of H consist of all non-zero m-dimensional vectors. •No two columns of H are linearly dependent. However, for m>1, it is possible to find three columns that add to 0. Extended [2 m, 2 m-1-m,4] Hamming codes 11101000 01110100 H = 11010010 11111111 m=3 Some Specific Linear Block Codes [2 m-1, m, 2 m-1] Simplex codes The dual code of [2 m-1, 2 m-1-m,3] of Hamming code. It is also called a maximum-length shift register code. Every pair of codewords is the same distance apart. The simplex signal set discussed in Chapter 3 is the continuous analogue of the simplex code [2 m, m+1, 2 m-1] First-order Reed-Muller codes The dual code of the extended [2 m, 2 m-1-m,4] Hamming code. The biorthogonal signal set discussed in Chapter 3 is the continuous analogue of this code. Hardmard Codes A Hardmard code consists of all row vectors of a Hardmard matrix. Definition: An nxn binary matrix A=(aij ) (aij is in GF(2)) is said to be a Hardmard matrix if the matrix (− 1)A = ( − 1) aij ( )nxn is orthogonal. Theorem 5.1.4: If A is an nxn Hardmard matrix, then n=2 or 4k for some k. Conjecture: It is strong believed that Hardmard matrices exist for all n’s specified in the above. Construction of Hardmard Codes 0 0 A2 = 0 1 If A n is an nxn Hardmard matrix then An A n A2n = An A n is also a Hardmard matrix. A n is the complement of A n. By using the method repeatedly, we can construct all Hardmard matrices of order n=2 m, m = 1, 2, ···. With this construction, the corresponding Hardmard code is a linear [2 m, m, 2 m-1] code. Cyclic Codes Definition: Fix a finite field GF(q). A linear block code C is said to be cyclic if any cyclic shift of a codeword is also a codeword, i.e., whenever C=(C n-1,C n-2, …C0) is in the codebook, then so is (C n-2,C n-3,…C0, C n-1) . Example : C = {000, 110, 101, 011} Algebraic Description of Cyclic Codes Associate with any vector a = (a n-1, a n-2,•••a0) in Vn a polynomial n-1 n-2 a(x) = a n-1x + a n-2x +••• +a 1x + a 0 n n-1 2 Then xa(x) = a n-1x + a n-2x + ••• + a 1x + a 0x n-1 n = a n-2x + •••+a 0x+a n-1 mod (x -1) is the polynomial associated with the vector (a n-2,•••a0 a,n-1) Under modulo (x n-1) operation, multiplying a(x) by x corresponds to a cyclic shift of a. A vector a with its associated polynomial a(x) a linear block code C with the set of polynomials associated with its codewords. Definition: A linear block code C is cyclic if xC(x) mod (x n-1) єC whenever C(x)єC. Cyclic Codes (cntd) Let g(x)єC be a monic polynomial of minimal degree in C ( A polynomial of degree r is monic if the coefficient before xr is 1) Theorem 5.2.1: a) g(x) is unique b) Any C(x) in C can be written uniquely as C(x)=f(x)g(x), where f(x) is a polynomial having degree <k and n-k=degree of g(x) c) g(x) is a factor of x n-1, i.e., g(x)|x n-1 n-k n-k-1 d) If g(x)=x +g n-k-1x +···g1x+g 0, the C is an [n, k, d] code for some d and has the following generator matrix.
Recommended publications
  • Superregular Matrices and Applications to Convolutional Codes
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Repositório Institucional da Universidade de Aveiro Superregular matrices and applications to convolutional codes P. J. Almeidaa, D. Nappa, R.Pinto∗,a aCIDMA - Center for Research and Development in Mathematics and Applications, Department of Mathematics, University of Aveiro, Aveiro, Portugal. Abstract The main results of this paper are twofold: the first one is a matrix theoretical result. We say that a matrix is superregular if all of its minors that are not trivially zero are nonzero. Given a a × b, a ≥ b, superregular matrix over a field, we show that if all of its rows are nonzero then any linear combination of its columns, with nonzero coefficients, has at least a − b + 1 nonzero entries. Secondly, we make use of this result to construct convolutional codes that attain the maximum possible distance for some fixed parameters of the code, namely, the rate and the Forney indices. These results answer some open questions on distances and constructions of convolutional codes posted in the literature [6, 9]. Key words: convolutional code, Forney indices, optimal code, superregular matrix 2000MSC: 94B10, 15B33, 15B05 1. Introduction Several notions of superregular matrices (or totally positive) have appeared in different areas of mathematics and engineering having in common the specification of some properties regarding their minors [2, 3, 5, 11, 14]. In the context of coding theory these matrices have entries in a finite field F and are important because they can be used to generate linear codes with good distance properties.
    [Show full text]
  • Reed-Solomon Code and Its Application 1 Equivalence
    IERG 6120 Coding Theory for Storage Systems Lecture 5 - 27/09/2016 Reed-Solomon Code and Its Application Lecturer: Kenneth Shum Scribe: Xishi Wang 1 Equivalence of Codes Two linear codes are said to be equivalent if one of them can be obtained from the other by means of a sequence of transformations of the following types: (i) a permutation of the positions of the code; (ii) multiplication of symbols in a fixed position by a non-zero scalar in F . Note that these transformations can be applied to all code symbols. 2 Reed-Solomon Code In RS code each symbol in the codewords is the evaluation of a polynomial at one point α, namely, 2 1 3 6 α 7 6 2 7 6 α 7 f(α) = c0 c1 c2 ··· ck−1 6 7 : 6 . 7 4 . 5 αk−1 The whole codeword is given by n such evaluations at distinct points α1; ··· ; αn, 2 1 1 ··· 1 3 6 α1 α2 ··· αn 7 6 2 2 2 7 6 α1 α2 ··· αn 7 T f(α1) f(α2) ··· f(αn) = c0 c1 c2 ··· ck−1 6 7 = c G: 6 . .. 7 4 . 5 k−1 k−1 k−1 α1 α2 ··· αn G is the generator matrix of RSq(n; k; d) code. The order of writing down the field elements α1 to αn is not important as far as the code structure is concerned, as any permutation of the αi's give an equivalent code. i j=1;:::;n The generator matrix G is a Vandermonde matrix, which is of the form [aj]i=0;:::;k−1.
    [Show full text]
  • On a Class of Matrices with Low Displacement Rank M
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Elsevier - Publisher Connector Linear Algebra and its Applications 325 (2001) 161–176 www.elsevier.com/locate/laa On a class of matrices with low displacement rank M. Barnabei∗, L.B. Montefusco Department of Mathematics, University of Bologna, Piazza di Porta S. Donato, 5 40127 Bologna, Italy Received 5 June 2000; accepted 5 September 2000 Submitted by L. Elsner Abstract AmatrixA such that, for some matrices U and V, the matrix AU − VAor the matrix A − VAU has a rank which is small compared with the order of the matrix is called a matrix with displacement structure. In this paper the authors single out a new class of matrices with dis- placement structure—namely, finite sections of recursive matrices—which includes the class of finite Hurwitz matrices, widely used in computer graphics. For such matrices it is possible to give an explicit evaluation of the displacement rank and an algebraic description, and hence a stable numerical evaluation, of the corresponding generators. The generalized Schur algorithm can therefore be used for the fast factorization of some classes of such matrices, and exhibits a backward stable behavior. © 2001 Elsevier Science Inc. All rights reserved. AMS classification: 65F05; 65F30; 15A23; 15A57 Keywords: Recursive matrices; Displacement structure; Fast factorization algorithm; Stability 1. Introduction It is well known that the notion of matrix with displacement structure is used in the literature to define classes of matrices for which fast O(n2) factorization algorithms can be given (see, e.g., [9]).
    [Show full text]
  • Chapter 2: Linear Algebra User's Manual
    Preprint typeset in JHEP style - HYPER VERSION Chapter 2: Linear Algebra User's Manual Gregory W. Moore Abstract: An overview of some of the finer points of linear algebra usually omitted in physics courses. May 3, 2021 -TOC- Contents 1. Introduction 5 2. Basic Definitions Of Algebraic Structures: Rings, Fields, Modules, Vec- tor Spaces, And Algebras 6 2.1 Rings 6 2.2 Fields 7 2.2.1 Finite Fields 8 2.3 Modules 8 2.4 Vector Spaces 9 2.5 Algebras 10 3. Linear Transformations 14 4. Basis And Dimension 16 4.1 Linear Independence 16 4.2 Free Modules 16 4.3 Vector Spaces 17 4.4 Linear Operators And Matrices 20 4.5 Determinant And Trace 23 5. New Vector Spaces from Old Ones 24 5.1 Direct sum 24 5.2 Quotient Space 28 5.3 Tensor Product 30 5.4 Dual Space 34 6. Tensor spaces 38 6.1 Totally Symmetric And Antisymmetric Tensors 39 6.2 Algebraic structures associated with tensors 44 6.2.1 An Approach To Noncommutative Geometry 47 7. Kernel, Image, and Cokernel 47 7.1 The index of a linear operator 50 8. A Taste of Homological Algebra 51 8.1 The Euler-Poincar´eprinciple 54 8.2 Chain maps and chain homotopies 55 8.3 Exact sequences of complexes 56 8.4 Left- and right-exactness 56 { 1 { 9. Relations Between Real, Complex, And Quaternionic Vector Spaces 59 9.1 Complex structure on a real vector space 59 9.2 Real Structure On A Complex Vector Space 64 9.2.1 Complex Conjugate Of A Complex Vector Space 66 9.2.2 Complexification 67 9.3 The Quaternions 69 9.4 Quaternionic Structure On A Real Vector Space 79 9.5 Quaternionic Structure On Complex Vector Space 79 9.5.1 Complex Structure On Quaternionic Vector Space 81 9.5.2 Summary 81 9.6 Spaces Of Real, Complex, Quaternionic Structures 81 10.
    [Show full text]
  • A Standard Generator/Parity Check Matrix for Codes from the Cayley Tables Due to the Non-Associative (123)-Avoiding Patterns of AUNU Numbers
    Universal Journal of Applied Mathematics 4(2): 39-41, 2016 http://www.hrpub.org DOI: 10.13189/ujam.2016.040202 A Standard Generator/Parity Check Matrix for Codes from the Cayley Tables Due to the Non-associative (123)-Avoiding Patterns of AUNU Numbers Ibrahim A.A1, Chun P.B2,*, Abubakar S.I3, Garba A.I1, Mustafa.A1 1Department of Mathematics, Usmanu Danfodiyo University Sokoto, Nigeria 2Department of Mathematics, Plateau State University Bokkos, Nigeria 3Department of Mathematics, Sokoto State University Sokoto, Nigeria Copyright©2016 by authors, all rights reserved. Authors agree that this article remains permanently open access under the terms of the Creative Commons Attribution License 4.0 international License. Abstract In this paper, we aim at utilizing the Cayley Eulerian graphs due to AUNU patterns had been reported in tables demonstrated by the Authors[1] in the construction of [2] and [3]. This special class of the (132) and a Generator/Parity check Matrix in standard form for a Code (123)-avoiding class of permutation patterns which were first say C Our goal is achieved first by converting the Cayley reported [4], where some group and graph theoretic tables in [1] using Mod2 arithmetic into a Matrix with entries properties were identified, had enjoyed a wide range of from the binary field. Echelon Row operations are then applications in various areas of applied Mathematics. In[1], performed (carried out) on the matrix in line with existing we described how the non-associative and non-commutative algorithms and propositions to obtain a matrix say G whose properties of the patterns can be established using their rows spans C and a matrix say H whose rows spans , the Cayley tables where a binary operation was defined to act on dual code of C, where G and H are given as, G = (Ik| X ) and the (132) and (123)-avoiding patterns of the AUNU numbers T H= ( -X |In-k ).
    [Show full text]
  • Error Correcting Codes
    9 error correcting codes A main idea of this sequence of notes is that accounting is a legitimate field of academic study independent of its vocational implications and its obvious impor- tance in the economic environment. For example, the study of accounting pro- motes careful and disciplined thinking important to any intellectual pursuit. Also, studying how accounting works illuminates other fields, both academic and ap- plied. In this chapter we begin to connect the study of accounting with the study of codes. Coding theory, while theoretically rich, is also important in its applica- tions, especially with the pervasiveness of computerized information transfer and storage. Information integrity is inherently of interest to accountants, so exploring coding can be justified for both academic and applied reasons. 9.1 kinds of codes We will study three kinds of codes: error detecting, error correcting, and secret codes. The first two increase the reliability of message transmission. The third, secret codes, are designed to ensure that messages are available only to authorized users, and can’t be read by the bad guys. The sequence of events for all three types of codes is as follows. 1. determine the message to transmit. For our purposes, we will treat messages as vectors. 2. The message is encoded. The result is termed a codeword, or cyphertext, also a vector. 180 9. error correcting codes 3. The codeword is transmitted through a channel. The channel might inject noise into the codeword, or it might be vulnerable to eavesdropping. 4. The received vector is decoded. If the received vector is no longer the trans- mitted codeword, the decoding process may detect, or even correct, the er- ror.
    [Show full text]
  • Lec16.Ps (Mpage)
    Potential Problems with Large Blocks 2 CSC310 – Information Theory Sam Roweis • Using very large blocks could potentially cause some serious practical problems with storage/retrieval of codewords. • In particular, if we are encoding blocks of K bits, our code will have 2K codewords. For K ≈ 1000 this is a huge number! Lecture 16: • How could we even store all the codewords? • How could we retrieve (look up) the N bit codeword corresponding to a given K bit message? Equivalent Codes & Systematic Forms • How could we check if a given block of N bits is a valid codeword or a forbidden encoding? • Last class, we saw how to solve all these problems by representing the codes mathematically and using the magic of linear algebra. November 9, 2005 • The valid codewords formed a subspace in the vector space of the N finite field Z2 . Reminder: Dealing with Long Blocks 1 Generator and Parity Check Matrices 3 • Recall that Shannon’s second theorem tells us that for any noisy • Using aritmetic mod 2, we could represent a code using either a set channel, there is some code which allows us to achieve error free of basis functions or a set of constraint (check) equations, transmission at a rate up to the capacity. represented a generator matrix G or a parity check matrix H. • However, this might require us to encode our message in very long • Every linear combination basis vectors is a valid codeword & all blocks. Why? valid codewords are spanned by the basis; similarly all valid • Intuitively it is because we need to add just the right fraction of codewords satisfy every check equation & any bitstring which redundancy; too little and we won’t be able to correct the erorrs, satisfies all equations is a valid codeword.
    [Show full text]
  • Estimating the Generator Matrix from Discret Data Set
    Estimating the Generator Matrix from Discret Data Set Romayssa Touaimia (Algeria) Department Probability and Statistics, Mathematical Institute Eötvös Loránd University, Budapest, Hungary A thesis submitted for the degree of MSc in Mathematics 2019. May Declaration I herewith declare that I have produced this thesis without the prohibited assistance of third parties and without making use of aids other than those specified; notions taken over directly or indirectly from other sources have been identified as such. This paper has not previously been presented in identical or similar form to any other Hungarian or foreign examination board. The thesis work was conducted under the supervision of Mr. Pröhle Tamás at Eötvös Loránd University. Budapest, May, 2019 Acknowledgements First and foremost, I would like to thank my supervision and advisor Mr. Prőhle Tamás for introducing me to this topic, for his help through the difficulties that I faced, his patience with me, his helpful suggestions and his assistance in every step through the process. I am grateful for the many discussions that we had. I would like to thank my parents whom were always there for me, sup- ported me and believed in me. Abstract Continuous Markov chain is determined by its transition rates which are the entries of the generator matrix. This generator matrix is used to fully describe the process. In this work, we will first start with an introduction about the impor- tance of the application of the Markov Chains in real life, then we will give some definitions that help us to understand the discrete and continuous time Markov chains, then we will see the relation between transition matrix and the generator matrix.
    [Show full text]
  • Recovery of a Lattice Generator Matrix from Its Gram Matrix for Feedback and Precoding in MIMO
    Recovery of a Lattice Generator Matrix from its Gram Matrix for Feedback and Precoding in MIMO Francisco A. Monteiro, Student Member, IEEE, and Ian J. Wassell Abstract— Either in communication or in control applications, coding, MIMO spatial multiplexing, and even OFDM) multiple-input multiple-output systems often assume the unified from a lattice perspective as a general equalization knowledge of a matrix that relates the input and output vectors. problem (e.g., [14]). Advances in lattice theory are therefore For discrete inputs, this linear transformation generates a of great interest for MIMO engineering. multidimensional lattice. The same lattice may be described by There are several ways of describing a lattice (e.g., via an infinite number of generator matrixes, even if the rotated versions of a lattice are not considered. While obtaining the modular equations [15] or trellis structures [16]), however, Gram matrix from a given generator matrix is a trivial the two most popular ones in engineering applications are i) operation, the converse is not obvious for non-square matrixes the generator matrix and ii) the Gram matrix. The and is a research topic in algorithmic number theory. This computation of the latter given the former is trivial. The paper proposes a method to execute such a conversion and reverse is not, and an efficient algorithm for this conversion applies it in a novel MIMO system implementation where some remains an open problem in the theory of lattices. of the complexity is taken from the receiver to the transmitter. It should be noticed that an efficient algorithm for this Additionally, given the symmetry of the Gram matrix, the reverse operation can allow a lattice to be described using number of elements required in the feedback channel is nearly only about half the number of elements usually required halved.
    [Show full text]
  • An Introduction to Lattices and Their Applications in Communications Frank R
    An Introduction to Lattices and their Applications in Communications Frank R. Kschischang Chen Feng University of Toronto, Canada 2014 Australian School of Information Theory University of South Australia Institute for Telecommunications Research Adelaide, Australia November 13, 2014 Outline 1 Fundamentals 2 Packing, Covering, Quantization, Modulation 3 Lattices and Linear Codes 4 Asymptopia 5 Communications Applications 2 Part 1: Lattice Fundamentals 3 Notation • C: the complex numbers (a field) • R: the real numbers (a field) • Z: the integers (a ring) • X n: the n-fold Cartesian product of set X with itself; n X = f(x1;:::; xn): x1 2 X ; x2 2 X ;:::; xn 2 X g. If X is a field, then the elements of X n are row vectors. • X m×n: the m × n matrices with entries from X . ∗ • If (G; +) is a group with identity 0, then G , G n f0g denotes the nonzero elements of G. 4 Euclidean Space Lattices are discrete subgroups (under vector addition) of finite-dimensional Euclidean spaces such as n. R x d( • x; y) In n we have R •y Pn (0; 1) k • an inner product: hx; yi xi yi x , i=1 k k p ky • a norm: kxk , hx; xi • 0 • a metric: d(x; y) , kx − yk (1; 0) • Vectors x and y are orthogonal if hx; yi = 0. n • A ball centered at the origin in R is the set n Br = fx 2 R : kxk ≤ rg: n • If R is any subset of R , the translation of R by x is, for any n x 2 R , the set x + R = fx + y : y 2 Rg.
    [Show full text]
  • The Pennsylvania State University Schreyer Honors College
    The Pennsylvania State University Schreyer Honors College Department of Mathematics Application of Computational Linear Algebraic Methods to a Reliability Simulation Seth Henry Spring 2015 A thesis submitted in partial fulfillment of the requirements for baccalaureate degrees in Mathematics and Physics with honors in Mathematics Reviewed and approved* by the following: Christopher Griffin Sr. Research Assoc. & Assoc. Professor of Mathematics Thesis Supervisor Victoria Sadovskaya Associate Professor of Mathematics Honors Adviser *Signatures are on file in the Schreyer Honors College Abstract In this paper, numerical methods for the solution of a reliability modeling problem are presented by finding the steady state solution of a Markov chain. The reliability modeling problem analyzed is that of a large system made up of two smaller systems each with a varying number of subsystems. The focus of this study is on the optimal choice and formulation of algorithms for the steady-state solution of the gen- erator matrix for the Markov chain associated with the given reliabil- ity modeling problem. In this context, iterative linear equation solu- tion algorithms were compared. The Conjugate-Gradient method was determined to have the quickest convergence with the Gauss-Seidel method following close behind for the relevant model structures. The successive over-relaxation method was studied as well, and some op- timal relaxation parameters are presented. i Contents List of Figures iii 1 Introduction1 2 Literature Review2 2.1 Markov Chains..........................2 2.2 Reliability Theory.........................6 2.3 Numerical Analysis........................9 3 A Reliability Problem 17 4 Computational Analysis 20 5 Conclusion and Future Work 28 5.1 Conclusions...........................
    [Show full text]
  • 15-853:Algorithms in the Real World Block Codes Linear Codes
    Block Codes 15853:Algorithms in the Real World message (m) Each message and codeword is of fixed size Error Correcting Codes I coder ∑∑∑ = codeword alphabet k =|m| n = |c| q = | ∑| – Overview, Hamming Codes, Linear Codes codeword (c) Error Correcting Codes II C ⊆ Σn (codewords) noisy – Reed-Solomon Codes channel – Concatenated Codes codeword’ (c’) ∆∆∆(x,y) = number of positions Error Correcting Codes III (LDPC/Expander Codes) s.t. xi ≠ yi Error Correcting Codes IV (Decoding RS, Number thy) decoder d = min{ ∆(x,y) : x,y ∈ C, x ≠ y} message or error Code described as: (n,k,d)q 15-853 Page1 15-853 Page2 Linear Codes Generator and Parity Check Matrices n If ∑ is a field, then ∑ is a vector space Generator Matrix : ∑n Definition : C is a linear code if it is a linear subspace of A k x n matrix G such that: C = { xG | x ∈ ∑k } of dimension k. Made from stacking the spanning vectors This means that there is a set of k independent vectors n Parity Check Matrix : vi ∈ ∑ (1 ≤ i ≤ k) that span the subspace. n T i.e. every codeword can be written as: An (n – k) x n matrix H such that: C = {y ∈ ∑ | Hy = 0} (Codewords are the null space of H.) c = a 1 v1 + a 2 v2 + … + a k vk where a i ∈ ∑ “Linear”: the sum of two codewords is a codeword. These always exist for linear codes Minimum distance = weight of least-weight codeword 15-853 Page3 15-853 Page4 1 k mesg Relationship of G and H n For linear codes, if G is in standard form [I k A] n T mesg then H = [ -A In-k] G = codeword Example of (7,4,3) Hamming code: nk transpose recv’d word nk 1 0 0 0 1 1 1 1 1 1 0 1 0 0 = 0 1 0 0 1 1 0 H syndrome G = H = 1 1 0 1 0 1 0 0 0 1 0 1 0 1 1 0 1 1 0 0 1 0 0 0 1 0 1 1 if syndrome = 0, received word = codeword else have to use syndrome to get back codeword 15-853 Page5 15-853 Page6 Two Codes Hamming codes are binary (2 r-1–1, 2 r-1-r, 3) codes.
    [Show full text]