• Encoding message
• Decoding Message
• Assign a no. each letter in the alphabet.
• Assign 0 for blank space
Letter Assigned No. Letter Assigned No.
---- 0 N 14
A 1 O 15
B 2 P 16
C 3 Q 17
D 4 R 18
E 5 S 19
F 6 T 20
G 7 U 21
H 8 V 22
I 9 W 23
J 10 X 24
K 11 Y 25
L 12 Z 26
M 13
• Message: Umme Ruman
• Encoding Matrix: A=
2 3
−1 −2
• Uncoded row matrix : [21 13] [13 5] [0 18] [21 13] [1 14]
• Now multiply each of uncoded row matrices be encoding matrix A.
Uncoded Row Matrix
[21 13]
[13 5]
[0 18]
[21 13]
[1 14]
Coded Row Matrix
[29 37]
[21 29]
[-18 -36]
[29 37]
[-12 -25]
Encoding Matrix
2 3
−1 −2
• Hence The Encoding Message is:
29 37 21 29 -18 -36 29 37 -12 -25
• Coded row matrix:
32 25 15 10 28 14 56 35 40 31 28 23 47 28 65 45
• Encoding Matrix: A=
2 1
1 1
• First, Decode the matrix:
𝐴−1 =
1
𝑎𝑑 −𝑏𝑐
𝑑 −𝑏
−𝑐 𝑎
=
1
2 −1
1 −1
−1 2
=
1 −1
−1 2
Coded Row Matrix
[32 25]
[15 10]
[28 14]
[56 35]
[40 31]
[28 23]
[47 28]
[65 45]
Uncoded Row Matrix
[7 18]
[5 5]
[14 0]
[21 14]
[9 22]
[5 18]
[19 9]
[20 25]
Decode Matrix (𝐴−1
)
1 −1
−1 2
• For the uncoded row matrices read the message as follows:
[7 18] [5 5] [14 0] [21 14] [9 22] [5 18] [19 9] [20 25]
• 7 = G
Message: G
• For the uncoded row matrices read the message as follows:
[7 18] [5 5] [14 0] [21 14] [9 22] [5 18] [19 9] [20 25]
• 18 = R
Message: GR
• For the uncoded row matrices read the message as follows:
[7 18] [5 5] [14 0] [21 14] [9 22] [5 18] [19 9] [20 25]
• 5 = E
Message: GRE
• For the uncoded row matrices read the message as follows:
[7 18] [5 5] [14 0] [21 14] [9 22] [5 18] [19 9] [20 25]
• 5 = E
Message: GREE
• For the uncoded row matrices read the message as follows:
[7 18] [5 5] [14 0] [21 14] [9 22] [5 18] [19 9] [20 25]
• 14 = N
Message: GREEN
• For the uncoded row matrices read the message as follows:
[7 18] [5 5] [14 0] [21 14] [9 22] [5 18] [19 9] [20 25]
• 0 = Blank Space (_)
Message: GREEN_
• For the uncoded row matrices read the message as follows:
[7 18] [5 5] [14 0] [21 14] [9 22] [5 18] [19 9] [20 25]
• 21 = U
Message: GREEN_U
• For the uncoded row matrices read the message as follows:
[7 18] [5 5] [14 0] [21 14] [9 22] [5 18] [19 9] [20 25]
• 14 = N
Message: GREEN_UN
• For the uncoded row matrices read the message as follows:
[7 18] [5 5] [14 0] [21 14] [9 22] [5 18] [19 9] [20 25]
• 9 = I
Message: GREEN_UNI
• For the uncoded row matrices read the message as follows:
[7 18] [5 5] [14 0] [21 14] [9 22] [5 18] [19 9] [20 25]
• 22 = V
Message: GREEN_UNIV
• For the uncoded row matrices read the message as follows:
[7 18] [5 5] [14 0] [21 14] [9 22] [5 18] [19 9] [20 25]
• 5 = E
Message: GREEN_UNIVE
• For the uncoded row matrices read the message as follows:
[7 18] [5 5] [14 0] [21 14] [9 22] [5 18] [19 9] [20 25]
• 18 = R
Message: GREEN_UNIVER
• For the uncoded row matrices read the message as follows:
[7 18] [5 5] [14 0] [21 14] [9 22] [5 18] [19 9] [20 25]
• 19 = S
Message: GREEN_UNIVERS
• For the uncoded row matrices read the message as follows:
[7 18] [5 5] [14 0] [21 14] [9 22] [5 18] [19 9] [20 25]
• 9 = I
Message: GREEN_UNIVERSI
• For the uncoded row matrices read the message as follows:
[7 18] [5 5] [14 0] [21 14] [9 22] [5 18] [19 9] [20 25]
• 20 = T
Message: GREEN_UNIVERSIT
• For the uncoded row matrices read the message as follows:
[7 18] [5 5] [14 0] [21 14] [9 22] [5 18] [19 9] [20 25]
• 25 = Y
Message: GREEN_UNIVERSITY
• For the uncoded row matrices read the message as follows:
[7 18] [5 5] [14 0] [21 14] [9 22] [5 18] [19 9] [20 25]
Message:
Application if inverse matrix
Application if inverse matrix

Application if inverse matrix

  • 2.
    • Encoding message •Decoding Message
  • 3.
    • Assign ano. each letter in the alphabet. • Assign 0 for blank space
  • 4.
    Letter Assigned No.Letter Assigned No. ---- 0 N 14 A 1 O 15 B 2 P 16 C 3 Q 17 D 4 R 18 E 5 S 19 F 6 T 20 G 7 U 21 H 8 V 22 I 9 W 23 J 10 X 24 K 11 Y 25 L 12 Z 26 M 13
  • 5.
    • Message: UmmeRuman • Encoding Matrix: A= 2 3 −1 −2 • Uncoded row matrix : [21 13] [13 5] [0 18] [21 13] [1 14] • Now multiply each of uncoded row matrices be encoding matrix A.
  • 6.
    Uncoded Row Matrix [2113] [13 5] [0 18] [21 13] [1 14] Coded Row Matrix [29 37] [21 29] [-18 -36] [29 37] [-12 -25] Encoding Matrix 2 3 −1 −2
  • 7.
    • Hence TheEncoding Message is: 29 37 21 29 -18 -36 29 37 -12 -25
  • 8.
    • Coded rowmatrix: 32 25 15 10 28 14 56 35 40 31 28 23 47 28 65 45 • Encoding Matrix: A= 2 1 1 1 • First, Decode the matrix: 𝐴−1 = 1 𝑎𝑑 −𝑏𝑐 𝑑 −𝑏 −𝑐 𝑎 = 1 2 −1 1 −1 −1 2 = 1 −1 −1 2
  • 9.
    Coded Row Matrix [3225] [15 10] [28 14] [56 35] [40 31] [28 23] [47 28] [65 45] Uncoded Row Matrix [7 18] [5 5] [14 0] [21 14] [9 22] [5 18] [19 9] [20 25] Decode Matrix (𝐴−1 ) 1 −1 −1 2
  • 10.
    • For theuncoded row matrices read the message as follows: [7 18] [5 5] [14 0] [21 14] [9 22] [5 18] [19 9] [20 25] • 7 = G Message: G
  • 11.
    • For theuncoded row matrices read the message as follows: [7 18] [5 5] [14 0] [21 14] [9 22] [5 18] [19 9] [20 25] • 18 = R Message: GR
  • 12.
    • For theuncoded row matrices read the message as follows: [7 18] [5 5] [14 0] [21 14] [9 22] [5 18] [19 9] [20 25] • 5 = E Message: GRE
  • 13.
    • For theuncoded row matrices read the message as follows: [7 18] [5 5] [14 0] [21 14] [9 22] [5 18] [19 9] [20 25] • 5 = E Message: GREE
  • 14.
    • For theuncoded row matrices read the message as follows: [7 18] [5 5] [14 0] [21 14] [9 22] [5 18] [19 9] [20 25] • 14 = N Message: GREEN
  • 15.
    • For theuncoded row matrices read the message as follows: [7 18] [5 5] [14 0] [21 14] [9 22] [5 18] [19 9] [20 25] • 0 = Blank Space (_) Message: GREEN_
  • 16.
    • For theuncoded row matrices read the message as follows: [7 18] [5 5] [14 0] [21 14] [9 22] [5 18] [19 9] [20 25] • 21 = U Message: GREEN_U
  • 17.
    • For theuncoded row matrices read the message as follows: [7 18] [5 5] [14 0] [21 14] [9 22] [5 18] [19 9] [20 25] • 14 = N Message: GREEN_UN
  • 18.
    • For theuncoded row matrices read the message as follows: [7 18] [5 5] [14 0] [21 14] [9 22] [5 18] [19 9] [20 25] • 9 = I Message: GREEN_UNI
  • 19.
    • For theuncoded row matrices read the message as follows: [7 18] [5 5] [14 0] [21 14] [9 22] [5 18] [19 9] [20 25] • 22 = V Message: GREEN_UNIV
  • 20.
    • For theuncoded row matrices read the message as follows: [7 18] [5 5] [14 0] [21 14] [9 22] [5 18] [19 9] [20 25] • 5 = E Message: GREEN_UNIVE
  • 21.
    • For theuncoded row matrices read the message as follows: [7 18] [5 5] [14 0] [21 14] [9 22] [5 18] [19 9] [20 25] • 18 = R Message: GREEN_UNIVER
  • 22.
    • For theuncoded row matrices read the message as follows: [7 18] [5 5] [14 0] [21 14] [9 22] [5 18] [19 9] [20 25] • 19 = S Message: GREEN_UNIVERS
  • 23.
    • For theuncoded row matrices read the message as follows: [7 18] [5 5] [14 0] [21 14] [9 22] [5 18] [19 9] [20 25] • 9 = I Message: GREEN_UNIVERSI
  • 24.
    • For theuncoded row matrices read the message as follows: [7 18] [5 5] [14 0] [21 14] [9 22] [5 18] [19 9] [20 25] • 20 = T Message: GREEN_UNIVERSIT
  • 25.
    • For theuncoded row matrices read the message as follows: [7 18] [5 5] [14 0] [21 14] [9 22] [5 18] [19 9] [20 25] • 25 = Y Message: GREEN_UNIVERSITY
  • 26.
    • For theuncoded row matrices read the message as follows: [7 18] [5 5] [14 0] [21 14] [9 22] [5 18] [19 9] [20 25] Message: