Contents 1 Basics of Convolutional Coding.

Size: px
Start display at page:

Download "Contents 1 Basics of Convolutional Coding."

Transcription

1 Contents 1 Bascs of Convolutonal Codng 1 Φ 11 Relatng G 1 wth the mpulse responses g j 1 ;j 12 TransformAnalyssn ConvolutonalCodes context 4 13 Constructng a convolutonal encoder structure from the generator matrces 5 14 SystematcConvolutonalEncoders 5 15 Graphcalrepresentaton ofencoders 8 16 Free Dstanceofconvolutonalcodes Catastrophc Encoders Octalnotatonofconvolutonalencoders Physcalrealzatonsofconvolutonalencoders Input Output Weght enumeratng functon of a convolutonal code Maxmum Lkelhood Decodng of Convolutonal Codes 21 Ψ

2 CONTENTS

3 Lst of Fgures 11 Implementaton of encoder G 1 (D) usngfeedback 7 12 Implementaton of encoder G(D) Labelngofbranches andstates 9 15 State transton dagram for encoder G(D) Trells dagram for encoder G(D) Controller canoncal form for p(d)=q(d) Observer canoncal form for p(d)=q(d) State transton dagram for G(D) =[1+D 2 + D 3 ; 1+D + D 2 + D 3 ] Modfed state transton dagram for G(D) =[1+D 2 + D 3 ; 1+D + D 2 + D 3 ] 18

4 v LIST OF FIGURES

5 Chapter 1 Bascs of Convolutonal Codng Contents n o 11 Relatng G 1 wth the mpulse responses g j 1 ;j 12 TransformAnalyssnConvolutonalCodescontext 4 13 Constructng a convolutonal encoder structure from the generator matrces 5 14 SystematcConvolutonalEncoders 5 15 Graphcalrepresentatonofencoders 8 16 FreeDstanceofconvolutonalcodes CatastrophcEncoders Octalnotatonofconvolutonalencoders Physcalrealzatonsofconvolutonalencoders Input Output Weght enumeratng functon of a convolutonal code MaxmumLkelhoodDecodngofConvolutonalCodes 21 n o 11 Relatng G 1 wth the mpulse responses g j ;j The matrx G 1 s used to encode the bt-stream (nfo-bts) enterng the convolutonal encoder The nput bts are n the format: u 0 0; u 1 0; ;u k 1 0 ju 0 1; u 1 1; ;u k 1 1 j Λ (11) 1

6 2 Chapter 1: Bascs of Convolutonal Codng and the encoded bts are n the format u 0 0; c 1 0; ;c k 1 0 jc 0 1; c 1 1; ;c n 1 1 j Λ Recallng the relatonshp c j l = k 1 =0 we make the followng clarfcatons and assumptons: u l Λ g j ;l (12) ffl Remember that the encoder has memory of order m mples that the longest shftregster n the encoder has length m Therefore the longest mpulse response wll have memory m whch yelds m +1taps ffl If some shft regsters are shorter than m, we may extend them to have length m assumng that the assocated coeffcents wth those extra taps, are zero (zero paddng) That way we ensure that all the mpulse responses g j wll have m +1taps, wthout changng ther outputs (encoded bts) Now consderng the convoluton u l Λ gj ;l yelds: m u l Λ g j ;l = u l t g j ;t t=0 = u l m; u l m+1; ;u l 2 Λ 6 4 g j ;m g j ;m 1 g j ; and therefore the encoded bt c j l can be wrtten as: u 0 l m; u 0 l m+1; ;u 0 l j ju k 1 ; l m uk 1 ; ;uk 1 l m+1 l 2 Λ 6 4 g j 0;m g j 0;m 1 g j 0;0 g j k 1;m g j k 1;m 1 g j k 1;

7 Φ Ψ 11 Relatng G 1 wth the mpulse responses g j 3 ;j Now snce we want to have the nput bts n the nterleaved format (11), we need to reorder the elements n the above expresson, to get: u 0 l m; ;u k 1 l m ju0 l m+1; ;u k 1 l m+1 j ju0 l ; ju k 1 l 2 Λ 6 4 g j 0;m g j 1;m g j k 1;m g j 0;m 1 g j 1;m 1 g j k 1;m 1 g j 0;0 g j 1;0 g j k 1; Ths form makes t easy to construct all the n encoded bts c 0 l ; ;cn 1 l as: u 0 l m; ;u k 1 l m ju0 l m+1; ;u k 1 l m+1 j ju0 l ; ju k 1 l 2 Λ 6 4 g 0 0;m g 1 0;m g n 1 0;m g 0 1;m g 1 1;m g n 1 1;m g 0 k 1;m g 1 k 1;m g n 1 k 1;m g 0 0;m 1 g 1 0;m 1 g n 1 0;m 1 g 0 1;m 1 g 1 1;m 1 g n 1 1;m 1 g 0 k 1;m 1 g 1 k 1;m 1 g n 1 k 1;m 1 g 0 0;0 g 1 0;0 g n 1 0;0 g 0 1;0 g 1 1;0 g n 1 1;0 g 0 k 1;0 g 1 k 1;0 g n 1 k 1;

8 4 Chapter 1: Bascs of Convolutonal Codng From the above expresson we conclude that M = m and that G l = g 0 0;l g 1 0;l g n 1 0;l g 0 1;l g 1 1;l g n 1 1;l g 0 k 1;l g 1 k 1;l g n 1 k 1;l Transform Analyss n Convolutonal Codes context Observng equaton (12) and snce a convoluton between two sequences s nvolved, we can use tools from dscrete-tme sgnal processng and apply them to the bt sequences, as f they were bnary sgnals More specfcally we may defne a D-transform of a sequence y as y(d) = +1 = 1 y D We kept the lower case y for the transformed quantty as we want to keep the upper case letters for matrces The D-transform s the same as the z-transform substtutng z wth D 1 All the propertes of the well known z transform apply as well to D-transform Therefore (12) s wrtten as c j (D) = k 1 u (D) g j (D) =0 2 Λ = u 0 (D); ;u k 1 (D) 6 4 g j 0 (D) g j k 1 (D) We can now express the transformed n output (encoded) bt sequences as: 2 Λ c 0 (D);c 1 (D) ;c n 1 (D) = 6 4 c(d) =u(d)g(d) g 0 0 (D) g1 0 (D) gn 1 0 (D) g 0 k 1 (D) g1 k 1 (D) gn 1 k 1 (D) ) In the above expresson, c(d) s a n-dmensonal vector, u(d) s a k-dmensonal vector and G(D) s a k n dmensonal matrx, provdng a very compact and fnte dmenson expresson of the encodng of an nfnte stream of nfo-bts

9 13 Constructng a convolutonal encoder structure from the generator matrces 5 13 Constructng a convolutonal encoder structure from the generator matrces We assume we are gven a generator matrx for a convolutonal codeether n the form G 1 or G(D) and we wsh to desgn a structure usng delay elements, that wll mplement the approprate encodng process Startng from G 1, we dentfy the kn mpulse responses fg j g, = 0; ;k 1 and j = 0; ;n 1 that are assocated wth the -th nput and the j-th output Each of these mpulse responses wll have (or can be made to have) length m +1(memory m) Let s focus on the j-th output of the encoder Ths yelds: c j = k 1 =0 u Λ g j From an mplementaton pont of vew t yelds the structure: showng that we need a bank of k shft regsters, each of m taps (delay elements) The outputs of the -th shft regster are connected wth the g j ; ;l l = 0; ;mgans The outputs of those shft regsters are summed together to provde c j Next lookng at the output r we have: c r = k 1 =0 u Λ g r Implementng the above, agan requres a bank of k shft regsters, each of length m Only now, the outputs of the -th shftt regster are connected wth the g;l; r l = 0; ;m gans The outputs of those shft regsters are summed together to provde c r Comparng the above two structures we see that the same bank of shft regsters may be used for both c j and c r (and therefore any other output), provded that outputs of the delay elements are connected wth the approprate set of coeffcent from the approprate mpulse response Therefore although nk mpulse responses are requred to specfy the convolutonal encoder, only k shft regsters of m taps each, are necessary Ths mples that the number of nput symbols that are stored at every tme nstant n the encoder wll be km and therefore the number of states of the encoder wll be 2 km 14 Systematc Convolutonal Encoders A systematc convolutonal encoder s one that reproduces the k nput nfo-bt streams to k out of n of ts outputs For nstance we may assume that the frst k outputs (c 0 ; c 1 ; ;c k 1 )are

10 6 Chapter 1: Bascs of Convolutonal Codng dentcal to the k nput bts u 0 ; u 1 ; ;u k 1 There are many ways that ths may happen For nstance: c j = u j ; j =0; ;k 1 s one possblty But so s c 0 = u k 1 ; c j = u j 1 for j =1; ;k 2 So even when consderng the frst k output bts, there are several possbltes to have the nput bts mapped nto the output bts (actually k! possbltes) The mportant thng s to have k outputs that reflect exactly what the k nput bt streams are Then t s a matter of reorderng the outputs of the encoder such that u j = c j ; j =0; ;k 1 Snce such a reorderng of the outputs s always possble we usually refer to a systematc encoder as the one that ensures that u j = c j ; j =0; ;k 1 From the above defnton of a systematc encoder, t follows that k columns of the G(D) matrx should (after reorderng) gve the dentty matrx For example, consder the convolutonal encoder wth G(D) = 1+D 2 ; 1+D + D 2Λ An obvous systematc encoder s G 1 (D) =» 1; 1+D + D 2 1+D 2 Ths encoder ensures that u 0 = c 0 However the encoder G 2 (D) =» 1+D 2 1+D + D ; 1 2 ensures that u 0 = c 1 whch mples that t s also a systematc encoder If we want to put t n the more standard form where u 0 = c 0 we can reorder ts outputs by namng the frst output c 0 to be the second and the second to be the frst Ths s acheved by multplyng wth the matrx obtanng 2 T = G 3 (D) =G 2 (D)T =» 1; D 1+D + D 2 Ths ndcates that there may be several systematc encoders (even n the standard form where u j = c j ) for a gven convolutonal code Note that although nk polynomals g j (D) must be

11 14 Systematc Convolutonal Encoders 7 specfed for a convolutonal encoder, only k(n k) polynomals are requred to specfy a systematc encoder for the same code Note that the second term of ths encoder s a ratonal functon of D, mplyng that a feedforward mplementaton s mpossble We now address the problem of physcal realzaton of the encoder, especally when G(D) contans ratonal functons of D To llustrate better our analyss, consder G 1 (D) from the prevous example It mples that: and c 0 (D) =u 0 (D) = 1 =0 u D 1+D c 1 (D) =u 0 + D2 (D) = u 0 (D) 1 +D + D 3 + D D 2 Ths mples that drect translaton nto a feedforward crcut (tap delay lne) s mpossble as an nfnte number of delay elements would be requred and also an nfnte tme must be wated before obtanng the encoded output bt However f we rewrte t as: c 1 (D)(1 + D 2 )=u 0 (D)(1 + D + D 2 ) ) c 1 + c1 2 = u0 + u0 1 + u0 2 then by recallng some of the canoncal mplementatons of IIR flters we have the structure of fgure 14 c 0 feedback branch u 0 c 1 Fgure 11: Implementaton of encoder G 1 (D) usng feedback It s to be noted that the non-systematc encoder G(D) can be mplemented wth the same number of delay elements (2) but wthout feedback branch, as shown n fgure 14

12 8 Chapter 1: Bascs of Convolutonal Codng c 0 u 0 c 1 Fgure 12: Implementaton of encoder G(D) 15 Graphcal representaton of encoders The operaton of a convolutonal encoder can be represented usng state dagrams and trells dagrams State dagrams gve a compact representaton of the encodng process, but hde the evoluton of the encodng process over tme Trells dagrams gve that extra dmenson The state of the convolutonal encoder s defned as the content of the delay elements of the encoder at a partcular tme nstant Snce a (n; k; m) code has km delay elements, they can store anyone out of 2 mk bts Therefore there wll be 2 mk possble states Transton from one state to the other s due to the k ncomng nfo-bts At tme, k nfo-bts are enterng the encoder, causng t to transton to a new state and at the same tme the output of the encoder s n coded bts Transton from one state to the other s through a branch that s labeled n the form u 0 u 1 u k 1 =c 0 c 1 c n 1 Snce there are 2 k combnatons of ncomng nfo-bts, then from any gven state we may go to 2 k possble outgong states Therefore there wll be 2 k branches outgong from any state Those branches are enterng 2 k states at tme + 1 Next, we focus on a partcular state, and are nterested n how many ncomng branches exst We gve an explanaton whch wll also provde us wth an addtonal result Let s magne the delay elements of the encoder as lyng on a k m array We rearrange them (conceptually) such as to form arowofkm delay elements An approprate way to arrange them s to consder frst the k delay elements of the frst column of the array Then consder the next k elements of the second column of the array, etc untl we consder the last k elements of the m-th column of the array, as shown n fgure 15 At tme the content of those delay elements are u 0 1; ;u k 1 1 ;u0 2; ;u k 1 ; 2 ;u0 m; ;u k 1 m Then at tme +1the encoder wll transt to the state u 0 ; ;u k 1 ;u 0 1; ;u k 1 1 ; ;u 0 m+1; ;u k 1 m+1 Now assume that the encoder at tme was at the state u 0 1; ;u k 1 1 ;u0 2; ;u k 1 2 ; ; ~u0 m; ; ~u k 1 m Then

13 15 Graphcal representaton of encoders m k k m Fgure 13: f at tme the nfo-bts u 0 ; ;u k 1 are enterng the encoder, the state at whch t wll transt to wll be u 0 ; ;u k 1 ;u 0 1; ;u k 1 ; 1 ;u0 m+1; ;u k 1 m+1, e the same state as before Therefore as long as only the last k bts of the state at tme are dfferent, the encoder wll always transt to the same state at tme +1, upon encodng of the nfo bts u 0 ; ;u k 1 Snce there are 2 k states dfferng only the last k bts, t follows that these states wll all transt to the same state upon encodng of the same k nfo bts Ths shows that there are 2 k ncomng branches to any state and that all these branches are labeled wth the same k nfo-bts At the same tme, the orderng of the delay elements of the convolutonal encoder that s suggested n the rght part of fgure 15 provdes a good conventon for namng the states of the system We wll use the conventon ff to denote the state when the content of the delay elements n the form u 0 1; ;u k 1 1 ;u0 2; ;u k 1 ; ; 2 ~u0 m; ; ~u k 1 m equals the nteger For example for the (3; 2; 2) encoder the state ff 3 means that the content of the delay elements s (0011) or n the array orderng of the delay elements t corresponds to Wth ths n mnd, the general form of the labelng we wll use for both the state transton dagram and the trells dagram wll have the format of fgure 15 u 0 u k 1 =c 0 c n 1 ff ψ ff Fgure 14: Labelng of branches and states Example: Usng the encoder G(D) yelds: We now construct the trells dagram for the same encoder We can do t based on the state transton dagram of fgure 15, as follows:

14 10 Chapter 1: Bascs of Convolutonal Codng 0/00 0/ /00 1/ /10 0/ /10 1/01 Fgure 15: State transton dagram for encoder G(D) 00 0/00 1/ /10 0/11 0/ / / /01 11 tme tme +1 Fgure 16: Trells dagram for encoder G(D)

15 16 Free Dstance of convolutonal codes Free Dstance of convolutonal codes The free dstance of a convolutonal code (not an encoder), s defned as the mnmum Hammng wegth of any non-zero codeword of that code In order to fnd t, we can use the trells dagram and start from the all zero state We wll consder paths that dverge from the zero state and merge back to the zero state, wth out ntermedate passes through the zero state For the prevous code defned by G(D) we can show that t s mnmum dstance s 5 Later when we wll study the Vterb algorthm, we wll see an algorthmc way to determne the free dstance of a convolutonal code 17 Catastrophc Encoders Frst of all we want to clarfy that there s no such thng as catastrophc convolutonal code However there are catastrophc convolutonal encoders and here s what we mean: Consder the case where the encoder G(D) s used to encode an nfo bt stream u 0 (D) =1 (corresponds to the transmsson of a Drack, u 0 =[1; 0; 0; ]) The codeword at the output of the encoder s c(d) =[1+D 2 ; 1+D+D 2 ] (corresponds to the sequence [1; 1; 0; 1; 1; 1; 0; 0; 0; ] Now assume that we use the equvalent encoder G(D) ~ = (1 + D)G(D) = [1 + D + D 2 + D 3 ; 1+D 3 ] and that the nput bt stream s u 0 (D) = 1, (corresponds to the sequence 1+D ~u 0 =[1; 1; 1; 1; 1 ]) However the output of the encoder s the same as before, snce: c(d) ~ =~u 0 1 G(D) 1+D ~ = 1 (1 + D)G(D) 1+D = u 0 (D)G(D) = c(d) So far we don t see anythng strange However, codng s used to protect nformaton from errors, and assume that through the transmsson of the encoded bt stream through a nosy channel, we receve the sequence r =[10j00j01j00j00j ] where the underbar denotes a bt that has been affected by the nosy channel (flpped) The above receved sequence suggests that 3 errors were performed durng recepton A MAP detector, upon recepton of r would produce as closest match, the sequence ^c = [ ] that s assocated wth the nfo bt stream ^u 0 (D) = 0 (or u 0 = [0000 ]) The

16 12 Chapter 1: Bascs of Convolutonal Codng convolutonal decoder knows that r cannot be a codeword, because d free = 5 Snce r has a Hammng wegth of 2, the all zero code word wll be selected as the most lkely transmtted codeword If G(D) was used as the encoder, we see that the detected nfo word ([0000 ]) and the transmtted nfo word ([1; 0; 0; 0; ])dffernonly1 poston However f the encoder ~G(D) was used, the transmtted nfo word was [1111 ] and therefore t wll dffer from the detected nfo word n an nfnte number of postons, althoug only a fnte number of channel errors (3) occured Ths s hghly undesrable n transmsson systems and the encoder G(D) ~ s sad to be catastrophc Catastrophc encoders are to be avoded and several crtera have been developped n order to dentfy them A very popular one s by Massey and San and provdes a suffcent and necessary condton for an encoder to be non-catastrophc THEOREM 1 If G(D) s a ratonal generator matrx for a convolutonal code, then the followng condtons are equvalent If G(D) satsfes any of these (t wll therefore satsfy all others), the encoder wll be non-catastrophc 1 No nfnte Hammng weght nput u(d) produces a fnte Hammng weght output c(d) (ths s equvalent to: All nfnte Hammng weght nput sequences, produce nfnte Hammng weght codewords) 2 Let f(d) be the least common multple of the denomnators n the entres of G(D) Defne G(D) ~ =f(d)g(d) (e clear the denomnators Transform all entres to polynomals) Let ff(d) be the greatest common dvsor of all k k mnors of G(D) ~ When ff(d) f(d) s reduced to lowest terms (no more common factors) yeldng ~ff(d),then~ff(d) = Dj ~f(d) for some j 0 (Note that f G(D) s a polynomal matrx, then f(d) = 1 snce all denomnators equal 1 3 G(D) has a polynomal 1 rght nverse K(D) of fnte weght, e G(D)K(D) = I k (dentty k k matrx) EAMPLE 1 Consder the encoder ~ G(D) = [1 + D + D 2 + D 3 ; 1 + D 3 ] whch has polynomal entres Therefore f(d) = 1 The greatest common dvsor of all mnors of ~ G(D) s ff(d) = gcdf1 +D + D 2 + D 3 ; 1+D 3 g =1+D Thsff(D) s not n the form D j, volatng condton 2, mplyng that the encoder s catastrophc }

17 18 Octal notaton of convolutonal encoders 13 COROLLARY 1 Every systematc generator matrx of a convolutonal code, s non-catastrophc PROOF Descrptve proof: In a systematc encoder, the nput sequence somehow appears n the codeword Therefore any nfnte wegth nput wll necessary produce an nfnte wegth output, satsfyng condton 1 Formal proof: 2 3 If G(D) =[I k ; P (D)] then K(D) = 4 I 5 s a rght nverse of G(D) Thus by condton 3 0 ) G(D) s non-catastrophc 18 Octal notaton of convolutonal encoders Polynomal generator matrces of convolutonal encoders have entres that are polynomals of D Letp(D) be an entry of G(D), n the form p 0 + p 1 D + p 2 D 2 + ;p m D m Then we form the bnary number p m p 2 p 1 p 0 and zero pad t on the rght such that the total number of dgts s an nteger multple of 3 Then to every 3 dgts we assocate an octal number EAMPLE 2 The generator matrx G(D) =[1+D + D 3 + D 4 + D 6 ; 1+D 3 + D 4 + D 5 + D 6 ] s expressed as [554; 744] snce z} 5 1+D + D 3 + D 4 + D 6! 101 z} 7 1+D 3 + D 4 + D 5 + D 6! 111 z} zero paddng z} z } z} z} 00 4 zero paddng z } 4 4 }

18 14 Chapter 1: Bascs of Convolutonal Codng 19 Physcal realzatons of convolutonal encoders In general the entres of a convolutonal encoder G(D) wll be ratonal functons n the form p(d)=q(d) where p(d) and q(d) are polynomals of the same order L (f they don t have the same order, we complete the order deffcent polynomal wth approprate zero coeffcents, such as to have the same order L) More specfcally we have: and p(d) = q(d) = Ths ratonal entry corresponds to the transfer functon of a lnear tme nvarant (LTI) system and therefore can be mplemented n many possble ways Of partcular nterest are two mplementatons: the controller canoncal form and the observer canoncal form If x(d) s the nput and y(d) the output of the LTI, then L l=0 L l=0 y(d) =x(d) p(d) q(d) ) y j = 1 q 0 " L l=0 p l D l q l D l p l x j l L l=1 q l y j l # The controller canoncal form s llustrated n fgure 19 Ths mplementaton has the adders y j p 0 p 1 p 2 p L 1 p L x j 1=q 0 q 1 q 2 q L 1 q L Fgure 17: Controller canoncal form for p(d)=q(d) out of the delay elements path A dual mplementaton of the above that has the adders n the delay elements path s known as observer canoncal form and s llustrated n fgure 19

19 19 Physcal realzatons of convolutonal encoders 15 xj p L p L 1 p 2 p 1 p0 1=q 0 yj q L q L 1 q 2 q 1 Fgure 18: Observer canoncal form for p(d)=q(d) DEFINITION 1 The McMllan degree of G(D) s the mnmum number of delay elements that you can fnd n any realzaton of G(D) DEFINITION 2 An encoder G(D) for a code C s called mnmal f t s McMllan degree s the smallest that s achevable wth any equvalent encoder for C Ths s equvalent to say that f we consder all possble equvalent encoders of C and fnd the mnmum of ther McMllan degrees, then the encoder wth that mnmal McMllan degree wll be a mnmal encoder for C DEFINITION 3 ThedegreeofC s the degree of a mnmal encoder of C Queston: Gven an encoder, how can we dentfy f t s mnmal? If t s not, how can we fnd a mnmal encoder? Some answers: (many more detals n pp of Schlegel s book) A realzable encoder G(D) s mnmal ff G(D) has a polynomal rght nverse K 1 (D) and an antpolynomal rght nverse K 2 (D)

20 16 Chapter 1: Bascs of Convolutonal Codng COROLLARY 2 Any systematc encoder s mnmal PROOF 2 3 A systematc encoder has the form G(D) =[I k ; P (D)] ThenK(D) = 4 I 5 s a rght nverse 0 of G(D) and s both polynomal and antpolynomal 110 Input Output Weght enumeratng functon of a convolutonal code It s often of nterest to compute the dstrbuton of the Hammng weghts of all possble codewords of a convolutonal code What we actually have n mnd s a polynomal (wth eventually nfnte number of terms) of the form A() = d A d d (13) where d s the Hammng weght of a codeword and A d s the number of codewords of weght d For nstance snce the encoder G(D) = [1 + D 2 ; 1+D + D 2 ] has free dstance 5, t follows that the frst term of A() wll be 1 5 snce G(D) has only one codeword of weght 5 and no codewords of smaller weght (except the all zeros sequence) Equaton (13) s refered as the Weght Enumeratng Functon (WEF) of the convolutonal code Based on the state transton dagram, there s an algorthm from control system s theory, known as Mason s rule, that provdes a systematc way to compute the WEF We descrbe the steps and llustrate them wth an example 1 We splt the all zero state nto 2 states labeled S 0, one been consdered as the nput and the other as the output of the sgnal flow graph and we neglect the zero weght branch loopng around S 0 2 We label all branches of the state dagram wth the label w,wherew s the Hammng weght of that branch

21 110 Input Output Weght enumeratng functon of a convolutonal code 17 3 We consder the set of forward paths S 0 that ntate from state S 0 and termnate at S 0 wthout passng from any state more than one tme The gan of each forward path s denoted as F ; 2S 0 4 We consder the set of cycles (loops) A cycle s a path that starts from any state and termnates to that state, wthout passng through any other state more than one tme We denote S 1 the set of all cycles and C (1) the gan of the -th cycle 5 We consder the set of pars of non-touchng cycles Two cycles are non touchng f they don t have any states n common We denote as S 2 the set of all non touchng pars of cycles Assumng that the cycles and j are non touchng, the gan of the par (; j) 2S 2 s defned as C (2) ;j = C (1) C (1) j 6 Smlarly we consder the set of trplets of non-touchng cycles and defne the gan of the trplet (; j; m) as C (3) ;j;m = C (1) C (1) j C m (1), and so on for quadruplets etc 7 Then where =1 A() = C (1) + (;j) P F C (2) ;j (;j;m) C (3) ;j;m + (14) and s defned as but for the porton of the graph that remans after we erase the states assocated wth the -th forward path, and the branches orgnatng from or mergng to those states EAMPLE 3 Consder the encoder G(D) =[1+D 2 + D 3 ; 1+D + D 2 + D 3 ] The state transton dagram s shown n fgure 3 Splttng state S 0 and neglectng the zero weght branch loopng around t yelds the followng graph: Examnng the above state dagram we found that: ffl There are 7 forward paths: Path 1: S 0 S 1 S 3 S 7 S 6 S 5 S 2 S 4 S 0 wth gan F 1 = 12 Path 2: S 0 S 1 S 3 S 7 S 6 S 4 S 0 wth gan F 2 = 7 Path 3: S 0 S 1 S 3 S 6 S 5 S 2 S 4 S 0 wth gan F 3 = 11 Path 4: S 0 S 1 S 3 S 6 S 4 S 0 wth gan F 4 = 6 Path 5: S 0 S 1 S 2 S 5 S 3 S 7 S 6 S 4 S 0 wth gan F 5 = 8

22 18 Chapter 1: Bascs of Convolutonal Codng S 1 1/10 S 3 1/11 0/01 1/00 1/01 1/01 S 0 1/00 S 2 S 5 0/10 S 7 1/10 0/00 0/11 0/11 0/10 1/11 0/01 S 4 0/00 S 6 Fgure 19: State transton dagram for G(D) =[1+D 2 + D 3 ; 1+D + D 2 + D 3 ] 1/10 S 7 1/01 0/01 0/10 S 3 S 6 1/01 2 1/11 S 5 1/10 1/00 0/10 0/00 S 2 0/01 2 0/11 S 0 1/11 1/00 2 S 1 S 4 2 0/11 S 0 Fgure 110: Modfed state transton dagram for G(D) = [1 + D 2 + D 3 ; 1+D + D 2 + D 3 ]

23 110 Input Output Weght enumeratng functon of a convolutonal code 19 Path 6: S 0 S 1 S 2 S 5 S 3 S 6 S 4 S 0 wth gan F 6 = 7 Path 7: S 0 S 1 S 2 S 4 S 0 wth gan F 7 = 7 ffl There are 11 cycles: Cycle 1: S 1 S 3 S 7 S 6 S 5 S 2 S 4 S 1 wth gan C (1) 1 = 8 Cycle 2: S 1 S 3 S 7 S 6 S 4 S 1 wth gan C (1) 2 = 3 Cycle 3: S 1 S 3 S 6 S 5 S 2 S 4 S 1 wth gan C (1) 3 = 7 Cycle 4: S 1 S 3 S 6 S 4 S 1 wth gan C (1) 4 = 2 Cycle 5: S 1 S 2 S 5 S 3 S 7 S 6 S 4 S 1 wth gan C (1) 5 = 4 Cycle 6: S 1 S 2 S 5 S 3 S 6 S 4 S 1 wth gan C (1) 6 = 3 Cycle 7: S 1 S 2 S 4 S 1 wth gan C (1) 7 = 3 Cycle 8: S 2 S 5 S 2 wth gan C (1) 8 = Cycle 9: S 3 S 7 S 6 S 5 S 3 wth gan C (1) 9 = 5 Cycle 10: S 3 S 6 S 5 S 3 wth gan C (1) 10 = 4 Cycle 11: S 7 S 7 wth gan C (1) 11 = ffl There are 10 pars of nontouchng cycles: (2,8) wth gan C (2) 2;8 = 4 (3,11) wth gan C (2) 3;11 = 8 (4,8) wth gan C (2) 4;8 = 3 (4,11) wth gan C (2) 4;11 = 3 (6,11) wth gan C (2) 6;11 = 4 (7,9) wth gan C (2) 7;9 = 8 (7,10) wth gan C (2) 7;10 = 7 (7,11) wth gan C (2) 7;11 = 4 (8,11) wth gan C (2) 8;11 = 2 (10,11) wth gan C (2) 10;11 = 5 ffl Fnally there are 2 trplets of nontouchng cycles:

24 20 Chapter 1: Bascs of Convolutonal Codng (4,8,11) wth gan C (3) 4;8;11 = 4 (7,10,11) wth gan C (3) 7;10;11 = 8 Computaton of yelds: = = 5 =1 3 = 6 =1 2 =1 4 = =1 4 Applcaton to (14) yelds: A() = = (15) Therefore the convolutonal code descrbed by G(D) has d free = 6 and there s only one path achevng t In addton there are 3 paths of weght 7, 5 paths of weght 8, 11 paths of wegth 9 etc } The above example focused on computng the WEF of a convolutonal code In several occasons, addtonal nformaton about the structure of the convolutonal code s requred For nstance we may be nterested on the weght of the nfo-bt stream that produces the codeword of weght 7 and of how many branches (successve jumps from a sequence to another) t conssts of Ths yelds to a generalzaton of the P prevously descrbed Mason rule as follows: We want to compute the functon A(W;;L) = A w;d;l w;d;lw w d L l called the Input Output Wegth Enumeratng Functon (IOWEF), where A w;d;l s the number of codewords wth nput weght w, output weght d and consst of l branches The only thng to change n the already descrbed Mason s rule s the labelng of the branches n the state transton dagram We now label each branch as W w d L l nstead of just d prevously Those beng the gans of each branch, we

25 111 Maxmum Lkelhood Decodng of Convolutonal Codes 21 apply the same technque to compute ; etc Applcaton to example 3 yelds: 6 W 2 L WL 4 8 W 2 L 5 A(W;;L)= 1 W(L + L 2 ) 2 W 2 (L 4 L 3 ) 3 WL 3 4 W 2 (L 3 L 4 ) = 6 W 2 L (WL 4 + W 3 L 6 + W 3 L 7 )+ (16) 8 (W 2 L 6 + W 4 L 7 + W 4 L 8 +2W 4 L 9 )+ Comparng (15) and (16) we see that the convolutonal code of example 3 has 5 codewords of weght 8 out of whch 1 has nput weght 2 and conssts of 6 branches, 1 has nput weght 4 and conssts of 7 branches, 1 has nput weght 4 and conssts of 8 branches and 2 have nput wegth 4 and consst of 9 branches Therefore we have a much more detalled nformaton about the structure of that code 111 Maxmum Lkelhood Decodng of Convolutonal Codes Ψ We assume that a stream of nfo bts u = Φ[u 0 ; u 1 ; ;u k 1 ] are encoded and produce the Ψ codeword c =Φ [c 0 ; c 1 ; ;c n 1 ] The codeword s transmtted through a Dscrete Memory- Ψ less Channel (DMC) and the sequence r =Φ [r 0 ; r 1 ; ;r n 1 ] s receved at the demodulator s output The Maxmum Aposteror Probablty (MAP) crteron for detecton (decodng) of convolutonal codes mples that the codeword ^c = Ψ Φ[^c 0 ; ^c 1 ; ; ^c n 1 ] s detected, ff: Pr(^cjr) Pr(~cjr) for all possble sequences ~c 6= ^c In other words, Pr(^cjr) s the maxmum among all other probabltes Pr(~cjr) Then usng Bayes rule t follows that: Pr(rj^c) Pr(^c) Pr(r) Pr(rj~c) Pr(~c) ) Pr(r) Pr(rj^c) Pr(^c) Pr(rj~c) Pr(~c) ) and assumng that all codewords are equally lkely, then Pr(rj^c) Pr(rj~c)

26 22 Chapter 1: Bascs of Convolutonal Codng

Structure and Drive Paul A. Jensen Copyright July 20, 2003

Structure and Drive Paul A. Jensen Copyright July 20, 2003 Structure and Drve Paul A. Jensen Copyrght July 20, 2003 A system s made up of several operatons wth flow passng between them. The structure of the system descrbes the flow paths from nputs to outputs.

More information

Lectures - Week 4 Matrix norms, Conditioning, Vector Spaces, Linear Independence, Spanning sets and Basis, Null space and Range of a Matrix

Lectures - Week 4 Matrix norms, Conditioning, Vector Spaces, Linear Independence, Spanning sets and Basis, Null space and Range of a Matrix Lectures - Week 4 Matrx norms, Condtonng, Vector Spaces, Lnear Independence, Spannng sets and Bass, Null space and Range of a Matrx Matrx Norms Now we turn to assocatng a number to each matrx. We could

More information

TOPICS MULTIPLIERLESS FILTER DESIGN ELEMENTARY SCHOOL ALGORITHM MULTIPLICATION

TOPICS MULTIPLIERLESS FILTER DESIGN ELEMENTARY SCHOOL ALGORITHM MULTIPLICATION 1 2 MULTIPLIERLESS FILTER DESIGN Realzaton of flters wthout full-fledged multplers Some sldes based on support materal by W. Wolf for hs book Modern VLSI Desgn, 3 rd edton. Partly based on followng papers:

More information

Foundations of Arithmetic

Foundations of Arithmetic Foundatons of Arthmetc Notaton We shall denote the sum and product of numbers n the usual notaton as a 2 + a 2 + a 3 + + a = a, a 1 a 2 a 3 a = a The notaton a b means a dvdes b,.e. ac = b where c s an

More information

Lecture 3: Shannon s Theorem

Lecture 3: Shannon s Theorem CSE 533: Error-Correctng Codes (Autumn 006 Lecture 3: Shannon s Theorem October 9, 006 Lecturer: Venkatesan Guruswam Scrbe: Wdad Machmouch 1 Communcaton Model The communcaton model we are usng conssts

More information

APPENDIX A Some Linear Algebra

APPENDIX A Some Linear Algebra APPENDIX A Some Lnear Algebra The collecton of m, n matrces A.1 Matrces a 1,1,..., a 1,n A = a m,1,..., a m,n wth real elements a,j s denoted by R m,n. If n = 1 then A s called a column vector. Smlarly,

More information

Lecture 5 Decoding Binary BCH Codes

Lecture 5 Decoding Binary BCH Codes Lecture 5 Decodng Bnary BCH Codes In ths class, we wll ntroduce dfferent methods for decodng BCH codes 51 Decodng the [15, 7, 5] 2 -BCH Code Consder the [15, 7, 5] 2 -code C we ntroduced n the last lecture

More information

Problem Set 9 Solutions

Problem Set 9 Solutions Desgn and Analyss of Algorthms May 4, 2015 Massachusetts Insttute of Technology 6.046J/18.410J Profs. Erk Demane, Srn Devadas, and Nancy Lynch Problem Set 9 Solutons Problem Set 9 Solutons Ths problem

More information

5 The Rational Canonical Form

5 The Rational Canonical Form 5 The Ratonal Canoncal Form Here p s a monc rreducble factor of the mnmum polynomal m T and s not necessarly of degree one Let F p denote the feld constructed earler n the course, consstng of all matrces

More information

Grover s Algorithm + Quantum Zeno Effect + Vaidman

Grover s Algorithm + Quantum Zeno Effect + Vaidman Grover s Algorthm + Quantum Zeno Effect + Vadman CS 294-2 Bomb 10/12/04 Fall 2004 Lecture 11 Grover s algorthm Recall that Grover s algorthm for searchng over a space of sze wors as follows: consder the

More information

= z 20 z n. (k 20) + 4 z k = 4

= z 20 z n. (k 20) + 4 z k = 4 Problem Set #7 solutons 7.2.. (a Fnd the coeffcent of z k n (z + z 5 + z 6 + z 7 + 5, k 20. We use the known seres expanson ( n+l ( z l l z n below: (z + z 5 + z 6 + z 7 + 5 (z 5 ( + z + z 2 + z + 5 5

More information

A Comparison between Weight Spectrum of Different Convolutional Code Types

A Comparison between Weight Spectrum of Different Convolutional Code Types A Comparson between Weght Spectrum of fferent Convolutonal Code Types Baltă Hora, Kovac Mara Abstract: In ths paper we present the non-recursve systematc, recursve systematc and non-recursve non-systematc

More information

Learning Theory: Lecture Notes

Learning Theory: Lecture Notes Learnng Theory: Lecture Notes Lecturer: Kamalka Chaudhur Scrbe: Qush Wang October 27, 2012 1 The Agnostc PAC Model Recall that one of the constrants of the PAC model s that the data dstrbuton has to be

More information

S Advanced Digital Communication (4 cr) Targets today

S Advanced Digital Communication (4 cr) Targets today S.72-3320 Advanced Dtal Communcaton (4 cr) Convolutonal Codes Tarets today Why to apply convolutonal codn? Defnn convolutonal codes Practcal encodn crcuts Defnn qualty of convolutonal codes Decodn prncples

More information

HMMT February 2016 February 20, 2016

HMMT February 2016 February 20, 2016 HMMT February 016 February 0, 016 Combnatorcs 1. For postve ntegers n, let S n be the set of ntegers x such that n dstnct lnes, no three concurrent, can dvde a plane nto x regons (for example, S = {3,

More information

Difference Equations

Difference Equations Dfference Equatons c Jan Vrbk 1 Bascs Suppose a sequence of numbers, say a 0,a 1,a,a 3,... s defned by a certan general relatonshp between, say, three consecutve values of the sequence, e.g. a + +3a +1

More information

Digital Signal Processing

Digital Signal Processing Dgtal Sgnal Processng Dscrete-tme System Analyss Manar Mohasen Offce: F8 Emal: manar.subh@ut.ac.r School of IT Engneerng Revew of Precedent Class Contnuous Sgnal The value of the sgnal s avalable over

More information

Example: (13320, 22140) =? Solution #1: The divisors of are 1, 2, 3, 4, 5, 6, 9, 10, 12, 15, 18, 20, 27, 30, 36, 41,

Example: (13320, 22140) =? Solution #1: The divisors of are 1, 2, 3, 4, 5, 6, 9, 10, 12, 15, 18, 20, 27, 30, 36, 41, The greatest common dvsor of two ntegers a and b (not both zero) s the largest nteger whch s a common factor of both a and b. We denote ths number by gcd(a, b), or smply (a, b) when there s no confuson

More information

Lecture Notes on Linear Regression

Lecture Notes on Linear Regression Lecture Notes on Lnear Regresson Feng L fl@sdueducn Shandong Unversty, Chna Lnear Regresson Problem In regresson problem, we am at predct a contnuous target value gven an nput feature vector We assume

More information

ISSN: ISO 9001:2008 Certified International Journal of Engineering and Innovative Technology (IJEIT) Volume 3, Issue 1, July 2013

ISSN: ISO 9001:2008 Certified International Journal of Engineering and Innovative Technology (IJEIT) Volume 3, Issue 1, July 2013 ISSN: 2277-375 Constructon of Trend Free Run Orders for Orthogonal rrays Usng Codes bstract: Sometmes when the expermental runs are carred out n a tme order sequence, the response can depend on the run

More information

Error Probability for M Signals

Error Probability for M Signals Chapter 3 rror Probablty for M Sgnals In ths chapter we dscuss the error probablty n decdng whch of M sgnals was transmtted over an arbtrary channel. We assume the sgnals are represented by a set of orthonormal

More information

Module 3 LOSSY IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur

Module 3 LOSSY IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur Module 3 LOSSY IMAGE COMPRESSION SYSTEMS Verson ECE IIT, Kharagpur Lesson 6 Theory of Quantzaton Verson ECE IIT, Kharagpur Instructonal Objectves At the end of ths lesson, the students should be able to:

More information

Subset Topological Spaces and Kakutani s Theorem

Subset Topological Spaces and Kakutani s Theorem MOD Natural Neutrosophc Subset Topologcal Spaces and Kakutan s Theorem W. B. Vasantha Kandasamy lanthenral K Florentn Smarandache 1 Copyrght 1 by EuropaNova ASBL and the Authors Ths book can be ordered

More information

Transfer Functions. Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: ( ) system

Transfer Functions. Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: ( ) system Transfer Functons Convenent representaton of a lnear, dynamc model. A transfer functon (TF) relates one nput and one output: x t X s y t system Y s The followng termnology s used: x y nput output forcng

More information

Pulse Coded Modulation

Pulse Coded Modulation Pulse Coded Modulaton PCM (Pulse Coded Modulaton) s a voce codng technque defned by the ITU-T G.711 standard and t s used n dgtal telephony to encode the voce sgnal. The frst step n the analog to dgtal

More information

Chapter 5. Solution of System of Linear Equations. Module No. 6. Solution of Inconsistent and Ill Conditioned Systems

Chapter 5. Solution of System of Linear Equations. Module No. 6. Solution of Inconsistent and Ill Conditioned Systems Numercal Analyss by Dr. Anta Pal Assstant Professor Department of Mathematcs Natonal Insttute of Technology Durgapur Durgapur-713209 emal: anta.bue@gmal.com 1 . Chapter 5 Soluton of System of Lnear Equatons

More information

Errors for Linear Systems

Errors for Linear Systems Errors for Lnear Systems When we solve a lnear system Ax b we often do not know A and b exactly, but have only approxmatons  and ˆb avalable. Then the best thng we can do s to solve ˆx ˆb exactly whch

More information

Entropy Coding. A complete entropy codec, which is an encoder/decoder. pair, consists of the process of encoding or

Entropy Coding. A complete entropy codec, which is an encoder/decoder. pair, consists of the process of encoding or Sgnal Compresson Sgnal Compresson Entropy Codng Entropy codng s also known as zero-error codng, data compresson or lossless compresson. Entropy codng s wdely used n vrtually all popular nternatonal multmeda

More information

Exercises. 18 Algorithms

Exercises. 18 Algorithms 18 Algorthms Exercses 0.1. In each of the followng stuatons, ndcate whether f = O(g), or f = Ω(g), or both (n whch case f = Θ(g)). f(n) g(n) (a) n 100 n 200 (b) n 1/2 n 2/3 (c) 100n + log n n + (log n)

More information

EEE 241: Linear Systems

EEE 241: Linear Systems EEE : Lnear Systems Summary #: Backpropagaton BACKPROPAGATION The perceptron rule as well as the Wdrow Hoff learnng were desgned to tran sngle layer networks. They suffer from the same dsadvantage: they

More information

LECTURE 9 CANONICAL CORRELATION ANALYSIS

LECTURE 9 CANONICAL CORRELATION ANALYSIS LECURE 9 CANONICAL CORRELAION ANALYSIS Introducton he concept of canoncal correlaton arses when we want to quantfy the assocatons between two sets of varables. For example, suppose that the frst set of

More information

Week 2. This week, we covered operations on sets and cardinality.

Week 2. This week, we covered operations on sets and cardinality. Week 2 Ths week, we covered operatons on sets and cardnalty. Defnton 0.1 (Correspondence). A correspondence between two sets A and B s a set S contaned n A B = {(a, b) a A, b B}. A correspondence from

More information

The Multiple Classical Linear Regression Model (CLRM): Specification and Assumptions. 1. Introduction

The Multiple Classical Linear Regression Model (CLRM): Specification and Assumptions. 1. Introduction ECONOMICS 5* -- NOTE (Summary) ECON 5* -- NOTE The Multple Classcal Lnear Regresson Model (CLRM): Specfcaton and Assumptons. Introducton CLRM stands for the Classcal Lnear Regresson Model. The CLRM s also

More information

For now, let us focus on a specific model of neurons. These are simplified from reality but can achieve remarkable results.

For now, let us focus on a specific model of neurons. These are simplified from reality but can achieve remarkable results. Neural Networks : Dervaton compled by Alvn Wan from Professor Jtendra Malk s lecture Ths type of computaton s called deep learnng and s the most popular method for many problems, such as computer vson

More information

Graph Reconstruction by Permutations

Graph Reconstruction by Permutations Graph Reconstructon by Permutatons Perre Ille and Wllam Kocay* Insttut de Mathémathques de Lumny CNRS UMR 6206 163 avenue de Lumny, Case 907 13288 Marselle Cedex 9, France e-mal: lle@ml.unv-mrs.fr Computer

More information

Random Walks on Digraphs

Random Walks on Digraphs Random Walks on Dgraphs J. J. P. Veerman October 23, 27 Introducton Let V = {, n} be a vertex set and S a non-negatve row-stochastc matrx (.e. rows sum to ). V and S defne a dgraph G = G(V, S) and a drected

More information

Week3, Chapter 4. Position and Displacement. Motion in Two Dimensions. Instantaneous Velocity. Average Velocity

Week3, Chapter 4. Position and Displacement. Motion in Two Dimensions. Instantaneous Velocity. Average Velocity Week3, Chapter 4 Moton n Two Dmensons Lecture Quz A partcle confned to moton along the x axs moves wth constant acceleraton from x =.0 m to x = 8.0 m durng a 1-s tme nterval. The velocty of the partcle

More information

Channel Encoder. Channel. Figure 7.1: Communication system

Channel Encoder. Channel. Figure 7.1: Communication system Chapter 7 Processes The model of a communcaton system that we have been developng s shown n Fgure 7.. Ths model s also useful for some computaton systems. The source s assumed to emt a stream of symbols.

More information

Common loop optimizations. Example to improve locality. Why Dependence Analysis. Data Dependence in Loops. Goal is to find best schedule:

Common loop optimizations. Example to improve locality. Why Dependence Analysis. Data Dependence in Loops. Goal is to find best schedule: 15-745 Lecture 6 Data Dependence n Loops Copyrght Seth Goldsten, 2008 Based on sldes from Allen&Kennedy Lecture 6 15-745 2005-8 1 Common loop optmzatons Hostng of loop-nvarant computatons pre-compute before

More information

1 Generating functions, continued

1 Generating functions, continued Generatng functons, contnued. Generatng functons and parttons We can make use of generatng functons to answer some questons a bt more restrctve than we ve done so far: Queston : Fnd a generatng functon

More information

Notes on Frequency Estimation in Data Streams

Notes on Frequency Estimation in Data Streams Notes on Frequency Estmaton n Data Streams In (one of) the data streamng model(s), the data s a sequence of arrvals a 1, a 2,..., a m of the form a j = (, v) where s the dentty of the tem and belongs to

More information

2.3 Nilpotent endomorphisms

2.3 Nilpotent endomorphisms s a block dagonal matrx, wth A Mat dm U (C) In fact, we can assume that B = B 1 B k, wth B an ordered bass of U, and that A = [f U ] B, where f U : U U s the restrcton of f to U 40 23 Nlpotent endomorphsms

More information

Linear Regression Analysis: Terminology and Notation

Linear Regression Analysis: Terminology and Notation ECON 35* -- Secton : Basc Concepts of Regresson Analyss (Page ) Lnear Regresson Analyss: Termnology and Notaton Consder the generc verson of the smple (two-varable) lnear regresson model. It s represented

More information

8.4 COMPLEX VECTOR SPACES AND INNER PRODUCTS

8.4 COMPLEX VECTOR SPACES AND INNER PRODUCTS SECTION 8.4 COMPLEX VECTOR SPACES AND INNER PRODUCTS 493 8.4 COMPLEX VECTOR SPACES AND INNER PRODUCTS All the vector spaces you have studed thus far n the text are real vector spaces because the scalars

More information

Low Complexity Soft-Input Soft-Output Hamming Decoder

Low Complexity Soft-Input Soft-Output Hamming Decoder Low Complexty Soft-Input Soft-Output Hammng Der Benjamn Müller, Martn Holters, Udo Zölzer Helmut Schmdt Unversty Unversty of the Federal Armed Forces Department of Sgnal Processng and Communcatons Holstenhofweg

More information

2E Pattern Recognition Solutions to Introduction to Pattern Recognition, Chapter 2: Bayesian pattern classification

2E Pattern Recognition Solutions to Introduction to Pattern Recognition, Chapter 2: Bayesian pattern classification E395 - Pattern Recognton Solutons to Introducton to Pattern Recognton, Chapter : Bayesan pattern classfcaton Preface Ths document s a soluton manual for selected exercses from Introducton to Pattern Recognton

More information

Department of Electrical & Electronic Engineeing Imperial College London. E4.20 Digital IC Design. Median Filter Project Specification

Department of Electrical & Electronic Engineeing Imperial College London. E4.20 Digital IC Design. Median Filter Project Specification Desgn Project Specfcaton Medan Flter Department of Electrcal & Electronc Engneeng Imperal College London E4.20 Dgtal IC Desgn Medan Flter Project Specfcaton A medan flter s used to remove nose from a sampled

More information

Lecture 14 (03/27/18). Channels. Decoding. Preview of the Capacity Theorem.

Lecture 14 (03/27/18). Channels. Decoding. Preview of the Capacity Theorem. Lecture 14 (03/27/18). Channels. Decodng. Prevew of the Capacty Theorem. A. Barg The concept of a communcaton channel n nformaton theory s an abstracton for transmttng dgtal (and analog) nformaton from

More information

Chapter 6. BCH Codes

Chapter 6. BCH Codes Wreless Informaton Transmsson System Lab Chapter 6 BCH Codes Insttute of Communcatons Engneerng Natonal Sun Yat-sen Unversty Outlne Bnary Prmtve BCH Codes Decodng of the BCH Codes Implementaton of Galos

More information

Quantum Mechanics for Scientists and Engineers. David Miller

Quantum Mechanics for Scientists and Engineers. David Miller Quantum Mechancs for Scentsts and Engneers Davd Mller Types of lnear operators Types of lnear operators Blnear expanson of operators Blnear expanson of lnear operators We know that we can expand functons

More information

DIFFERENTIAL FORMS BRIAN OSSERMAN

DIFFERENTIAL FORMS BRIAN OSSERMAN DIFFERENTIAL FORMS BRIAN OSSERMAN Dfferentals are an mportant topc n algebrac geometry, allowng the use of some classcal geometrc arguments n the context of varetes over any feld. We wll use them to defne

More information

The Order Relation and Trace Inequalities for. Hermitian Operators

The Order Relation and Trace Inequalities for. Hermitian Operators Internatonal Mathematcal Forum, Vol 3, 08, no, 507-57 HIKARI Ltd, wwwm-hkarcom https://doorg/0988/mf088055 The Order Relaton and Trace Inequaltes for Hermtan Operators Y Huang School of Informaton Scence

More information

Chapter 7 Channel Capacity and Coding

Chapter 7 Channel Capacity and Coding Chapter 7 Channel Capacty and Codng Contents 7. Channel models and channel capacty 7.. Channel models Bnary symmetrc channel Dscrete memoryless channels Dscrete-nput, contnuous-output channel Waveform

More information

On the set of natural numbers

On the set of natural numbers On the set of natural numbers by Jalton C. Ferrera Copyrght 2001 Jalton da Costa Ferrera Introducton The natural numbers have been understood as fnte numbers, ths wor tres to show that the natural numbers

More information

Lecture 3: Probability Distributions

Lecture 3: Probability Distributions Lecture 3: Probablty Dstrbutons Random Varables Let us begn by defnng a sample space as a set of outcomes from an experment. We denote ths by S. A random varable s a functon whch maps outcomes nto the

More information

The Geometry of Logit and Probit

The Geometry of Logit and Probit The Geometry of Logt and Probt Ths short note s meant as a supplement to Chapters and 3 of Spatal Models of Parlamentary Votng and the notaton and reference to fgures n the text below s to those two chapters.

More information

2 More examples with details

2 More examples with details Physcs 129b Lecture 3 Caltech, 01/15/19 2 More examples wth detals 2.3 The permutaton group n = 4 S 4 contans 4! = 24 elements. One s the dentty e. Sx of them are exchange of two objects (, j) ( to j and

More information

Bernoulli Numbers and Polynomials

Bernoulli Numbers and Polynomials Bernoull Numbers and Polynomals T. Muthukumar tmk@tk.ac.n 17 Jun 2014 The sum of frst n natural numbers 1, 2, 3,..., n s n n(n + 1 S 1 (n := m = = n2 2 2 + n 2. Ths formula can be derved by notng that

More information

The Gaussian classifier. Nuno Vasconcelos ECE Department, UCSD

The Gaussian classifier. Nuno Vasconcelos ECE Department, UCSD he Gaussan classfer Nuno Vasconcelos ECE Department, UCSD Bayesan decson theory recall that we have state of the world X observatons g decson functon L[g,y] loss of predctng y wth g Bayes decson rule s

More information

Linear Approximation with Regularization and Moving Least Squares

Linear Approximation with Regularization and Moving Least Squares Lnear Approxmaton wth Regularzaton and Movng Least Squares Igor Grešovn May 007 Revson 4.6 (Revson : March 004). 5 4 3 0.5 3 3.5 4 Contents: Lnear Fttng...4. Weghted Least Squares n Functon Approxmaton...

More information

Time-Varying Systems and Computations Lecture 6

Time-Varying Systems and Computations Lecture 6 Tme-Varyng Systems and Computatons Lecture 6 Klaus Depold 14. Januar 2014 The Kalman Flter The Kalman estmaton flter attempts to estmate the actual state of an unknown dscrete dynamcal system, gven nosy

More information

EGR 544 Communication Theory

EGR 544 Communication Theory EGR 544 Communcaton Theory. Informaton Sources Z. Alyazcoglu Electrcal and Computer Engneerng Department Cal Poly Pomona Introducton Informaton Source x n Informaton sources Analog sources Dscrete sources

More information

3.1 Expectation of Functions of Several Random Variables. )' be a k-dimensional discrete or continuous random vector, with joint PMF p (, E X E X1 E X

3.1 Expectation of Functions of Several Random Variables. )' be a k-dimensional discrete or continuous random vector, with joint PMF p (, E X E X1 E X Statstcs 1: Probablty Theory II 37 3 EPECTATION OF SEVERAL RANDOM VARIABLES As n Probablty Theory I, the nterest n most stuatons les not on the actual dstrbuton of a random vector, but rather on a number

More information

Suppose that there s a measured wndow of data fff k () ; :::; ff k g of a sze w, measured dscretely wth varable dscretzaton step. It s convenent to pl

Suppose that there s a measured wndow of data fff k () ; :::; ff k g of a sze w, measured dscretely wth varable dscretzaton step. It s convenent to pl RECURSIVE SPLINE INTERPOLATION METHOD FOR REAL TIME ENGINE CONTROL APPLICATIONS A. Stotsky Volvo Car Corporaton Engne Desgn and Development Dept. 97542, HA1N, SE- 405 31 Gothenburg Sweden. Emal: astotsky@volvocars.com

More information

Learning from Data 1 Naive Bayes

Learning from Data 1 Naive Bayes Learnng from Data 1 Nave Bayes Davd Barber dbarber@anc.ed.ac.uk course page : http://anc.ed.ac.uk/ dbarber/lfd1/lfd1.html c Davd Barber 2001, 2002 1 Learnng from Data 1 : c Davd Barber 2001,2002 2 1 Why

More information

Composite Hypotheses testing

Composite Hypotheses testing Composte ypotheses testng In many hypothess testng problems there are many possble dstrbutons that can occur under each of the hypotheses. The output of the source s a set of parameters (ponts n a parameter

More information

Stanford University CS359G: Graph Partitioning and Expanders Handout 4 Luca Trevisan January 13, 2011

Stanford University CS359G: Graph Partitioning and Expanders Handout 4 Luca Trevisan January 13, 2011 Stanford Unversty CS359G: Graph Parttonng and Expanders Handout 4 Luca Trevsan January 3, 0 Lecture 4 In whch we prove the dffcult drecton of Cheeger s nequalty. As n the past lectures, consder an undrected

More information

Linear, affine, and convex sets and hulls In the sequel, unless otherwise specified, X will denote a real vector space.

Linear, affine, and convex sets and hulls In the sequel, unless otherwise specified, X will denote a real vector space. Lnear, affne, and convex sets and hulls In the sequel, unless otherwse specfed, X wll denote a real vector space. Lnes and segments. Gven two ponts x, y X, we defne xy = {x + t(y x) : t R} = {(1 t)x +

More information

Application of Nonbinary LDPC Codes for Communication over Fading Channels Using Higher Order Modulations

Application of Nonbinary LDPC Codes for Communication over Fading Channels Using Higher Order Modulations Applcaton of Nonbnary LDPC Codes for Communcaton over Fadng Channels Usng Hgher Order Modulatons Rong-Hu Peng and Rong-Rong Chen Department of Electrcal and Computer Engneerng Unversty of Utah Ths work

More information

Chapter 7 Channel Capacity and Coding

Chapter 7 Channel Capacity and Coding Wreless Informaton Transmsson System Lab. Chapter 7 Channel Capacty and Codng Insttute of Communcatons Engneerng atonal Sun Yat-sen Unversty Contents 7. Channel models and channel capacty 7.. Channel models

More information

VQ widely used in coding speech, image, and video

VQ widely used in coding speech, image, and video at Scalar quantzers are specal cases of vector quantzers (VQ): they are constraned to look at one sample at a tme (memoryless) VQ does not have such constrant better RD perfomance expected Source codng

More information

On the Multicriteria Integer Network Flow Problem

On the Multicriteria Integer Network Flow Problem BULGARIAN ACADEMY OF SCIENCES CYBERNETICS AND INFORMATION TECHNOLOGIES Volume 5, No 2 Sofa 2005 On the Multcrtera Integer Network Flow Problem Vassl Vasslev, Marana Nkolova, Maryana Vassleva Insttute of

More information

Estimating the Fundamental Matrix by Transforming Image Points in Projective Space 1

Estimating the Fundamental Matrix by Transforming Image Points in Projective Space 1 Estmatng the Fundamental Matrx by Transformng Image Ponts n Projectve Space 1 Zhengyou Zhang and Charles Loop Mcrosoft Research, One Mcrosoft Way, Redmond, WA 98052, USA E-mal: fzhang,cloopg@mcrosoft.com

More information

MATH 241B FUNCTIONAL ANALYSIS - NOTES EXAMPLES OF C ALGEBRAS

MATH 241B FUNCTIONAL ANALYSIS - NOTES EXAMPLES OF C ALGEBRAS MATH 241B FUNCTIONAL ANALYSIS - NOTES EXAMPLES OF C ALGEBRAS These are nformal notes whch cover some of the materal whch s not n the course book. The man purpose s to gve a number of nontrval examples

More information

n α j x j = 0 j=1 has a nontrivial solution. Here A is the n k matrix whose jth column is the vector for all t j=0

n α j x j = 0 j=1 has a nontrivial solution. Here A is the n k matrix whose jth column is the vector for all t j=0 MODULE 2 Topcs: Lnear ndependence, bass and dmenson We have seen that f n a set of vectors one vector s a lnear combnaton of the remanng vectors n the set then the span of the set s unchanged f that vector

More information

Psychology 282 Lecture #24 Outline Regression Diagnostics: Outliers

Psychology 282 Lecture #24 Outline Regression Diagnostics: Outliers Psychology 282 Lecture #24 Outlne Regresson Dagnostcs: Outlers In an earler lecture we studed the statstcal assumptons underlyng the regresson model, ncludng the followng ponts: Formal statement of assumptons.

More information

Bezier curves. Michael S. Floater. August 25, These notes provide an introduction to Bezier curves. i=0

Bezier curves. Michael S. Floater. August 25, These notes provide an introduction to Bezier curves. i=0 Bezer curves Mchael S. Floater August 25, 211 These notes provde an ntroducton to Bezer curves. 1 Bernsten polynomals Recall that a real polynomal of a real varable x R, wth degree n, s a functon of the

More information

PRIMES 2015 reading project: Problem set #3

PRIMES 2015 reading project: Problem set #3 PRIMES 2015 readng project: Problem set #3 page 1 PRIMES 2015 readng project: Problem set #3 posted 31 May 2015, to be submtted around 15 June 2015 Darj Grnberg The purpose of ths problem set s to replace

More information

Introduction to Information Theory, Data Compression,

Introduction to Information Theory, Data Compression, Introducton to Informaton Theory, Data Compresson, Codng Mehd Ibm Brahm, Laura Mnkova Aprl 5, 208 Ths s the augmented transcrpt of a lecture gven by Luc Devroye on the 3th of March 208 for a Data Structures

More information

Inner Product. Euclidean Space. Orthonormal Basis. Orthogonal

Inner Product. Euclidean Space. Orthonormal Basis. Orthogonal Inner Product Defnton 1 () A Eucldean space s a fnte-dmensonal vector space over the reals R, wth an nner product,. Defnton 2 (Inner Product) An nner product, on a real vector space X s a symmetrc, blnear,

More information

Refined Coding Bounds for Network Error Correction

Refined Coding Bounds for Network Error Correction Refned Codng Bounds for Network Error Correcton Shenghao Yang Department of Informaton Engneerng The Chnese Unversty of Hong Kong Shatn, N.T., Hong Kong shyang5@e.cuhk.edu.hk Raymond W. Yeung Department

More information

Fundamental loop-current method using virtual voltage sources technique for special cases

Fundamental loop-current method using virtual voltage sources technique for special cases Fundamental loop-current method usng vrtual voltage sources technque for specal cases George E. Chatzaraks, 1 Marna D. Tortorel 1 and Anastasos D. Tzolas 1 Electrcal and Electroncs Engneerng Departments,

More information

Affine transformations and convexity

Affine transformations and convexity Affne transformatons and convexty The purpose of ths document s to prove some basc propertes of affne transformatons nvolvng convex sets. Here are a few onlne references for background nformaton: http://math.ucr.edu/

More information

Digital Modems. Lecture 2

Digital Modems. Lecture 2 Dgtal Modems Lecture Revew We have shown that both Bayes and eyman/pearson crtera are based on the Lkelhood Rato Test (LRT) Λ ( r ) < > η Λ r s called observaton transformaton or suffcent statstc The crtera

More information

Application of Fuzzy Algebra in Automata theory

Application of Fuzzy Algebra in Automata theory Amercan Journal of Engneerng Research (AJER) e-issn: 2320-0847 p-issn : 2320-0936 Volume-5, Issue-2, pp-21-26 www.ajer.org Research Paper Applcaton of Fuzzy Algebra n Automata theory Kharatt Lal Dept.

More information

Fall 2012 Analysis of Experimental Measurements B. Eisenstein/rev. S. Errede

Fall 2012 Analysis of Experimental Measurements B. Eisenstein/rev. S. Errede Fall 0 Analyss of Expermental easurements B. Esensten/rev. S. Errede We now reformulate the lnear Least Squares ethod n more general terms, sutable for (eventually extendng to the non-lnear case, and also

More information

Zeros and Zero Dynamics for Linear, Time-delay System

Zeros and Zero Dynamics for Linear, Time-delay System UNIVERSITA POLITECNICA DELLE MARCHE - FACOLTA DI INGEGNERIA Dpartmento d Ingegnerua Informatca, Gestonale e dell Automazone LabMACS Laboratory of Modelng, Analyss and Control of Dynamcal System Zeros and

More information

Calculation of time complexity (3%)

Calculation of time complexity (3%) Problem 1. (30%) Calculaton of tme complexty (3%) Gven n ctes, usng exhaust search to see every result takes O(n!). Calculaton of tme needed to solve the problem (2%) 40 ctes:40! dfferent tours 40 add

More information

Ballot Paths Avoiding Depth Zero Patterns

Ballot Paths Avoiding Depth Zero Patterns Ballot Paths Avodng Depth Zero Patterns Henrch Nederhausen and Shaun Sullvan Florda Atlantc Unversty, Boca Raton, Florda nederha@fauedu, ssull21@fauedu 1 Introducton In a paper by Sapounaks, Tasoulas,

More information

CSE4210 Architecture and Hardware for DSP

CSE4210 Architecture and Hardware for DSP 4210 Archtecture and Hardware for DSP Lecture 1 Introducton & Number systems Admnstratve Stuff 4210 Archtecture and Hardware for DSP Text: VLSI Dgtal Sgnal Processng Systems: Desgn and Implementaton. K.

More information

Lecture 12: Discrete Laplacian

Lecture 12: Discrete Laplacian Lecture 12: Dscrete Laplacan Scrbe: Tanye Lu Our goal s to come up wth a dscrete verson of Laplacan operator for trangulated surfaces, so that we can use t n practce to solve related problems We are mostly

More information

Section 8.3 Polar Form of Complex Numbers

Section 8.3 Polar Form of Complex Numbers 80 Chapter 8 Secton 8 Polar Form of Complex Numbers From prevous classes, you may have encountered magnary numbers the square roots of negatve numbers and, more generally, complex numbers whch are the

More information

College of Computer & Information Science Fall 2009 Northeastern University 20 October 2009

College of Computer & Information Science Fall 2009 Northeastern University 20 October 2009 College of Computer & Informaton Scence Fall 2009 Northeastern Unversty 20 October 2009 CS7880: Algorthmc Power Tools Scrbe: Jan Wen and Laura Poplawsk Lecture Outlne: Prmal-dual schema Network Desgn:

More information

Bézier curves. Michael S. Floater. September 10, These notes provide an introduction to Bézier curves. i=0

Bézier curves. Michael S. Floater. September 10, These notes provide an introduction to Bézier curves. i=0 Bézer curves Mchael S. Floater September 1, 215 These notes provde an ntroducton to Bézer curves. 1 Bernsten polynomals Recall that a real polynomal of a real varable x R, wth degree n, s a functon of

More information

find (x): given element x, return the canonical element of the set containing x;

find (x): given element x, return the canonical element of the set containing x; COS 43 Sprng, 009 Dsjont Set Unon Problem: Mantan a collecton of dsjont sets. Two operatons: fnd the set contanng a gven element; unte two sets nto one (destructvely). Approach: Canoncal element method:

More information

Design and Optimization of Fuzzy Controller for Inverse Pendulum System Using Genetic Algorithm

Design and Optimization of Fuzzy Controller for Inverse Pendulum System Using Genetic Algorithm Desgn and Optmzaton of Fuzzy Controller for Inverse Pendulum System Usng Genetc Algorthm H. Mehraban A. Ashoor Unversty of Tehran Unversty of Tehran h.mehraban@ece.ut.ac.r a.ashoor@ece.ut.ac.r Abstract:

More information

ELASTIC WAVE PROPAGATION IN A CONTINUOUS MEDIUM

ELASTIC WAVE PROPAGATION IN A CONTINUOUS MEDIUM ELASTIC WAVE PROPAGATION IN A CONTINUOUS MEDIUM An elastc wave s a deformaton of the body that travels throughout the body n all drectons. We can examne the deformaton over a perod of tme by fxng our look

More information

COMPLEX NUMBERS AND QUADRATIC EQUATIONS

COMPLEX NUMBERS AND QUADRATIC EQUATIONS COMPLEX NUMBERS AND QUADRATIC EQUATIONS INTRODUCTION We know that x 0 for all x R e the square of a real number (whether postve, negatve or ero) s non-negatve Hence the equatons x, x, x + 7 0 etc are not

More information

Lecture Space-Bounded Derandomization

Lecture Space-Bounded Derandomization Notes on Complexty Theory Last updated: October, 2008 Jonathan Katz Lecture Space-Bounded Derandomzaton 1 Space-Bounded Derandomzaton We now dscuss derandomzaton of space-bounded algorthms. Here non-trval

More information