Question: Please solve this problem using MATLAB Cryptography and Matrices. Cryptography ( Coded messages ) has a basis in matrix algebra. Consider a Message matrix M

Please solve this problem using MATLAB
Cryptography and Matrices. Cryptography (Coded messages) has a basis in matrix algebra. Consider a "Message" matrix M, a crypto "Key" matrix K, and an "Encrypted message" matrix E which can result from the matrix multiplication of M and K :
M*K=E
2a. Problem: If the "Key" matrix K is given as indicated below, use the row operations method to determine the inverse matrix K-1.
Appendix
375
K=([-1,0,1],[2,3,4],[2,4,5])
Once an encrypted message E is delivered to the recipient, it can be decoded by multiplying by the inverse key matrix K-1 applied on the right half of each side of the equations, yielding:
M*K*K-1=M*I=M=E*K-1
With this knowledge, and supplied with the following inputs as assumed "known values":
a "Key" matrix K and its inverse K-1
a code "Translation" matrix T(to translate numbers into corresponding letters and spaces) given by:
Write a computer code to decode and translate the messages E#1 and E#2 using matrix multiplication methods to accomplish (E.K-1), assuming that K-1 is already a known provided from above, to determine MHI and M#2. What do the messages say?
2b. Encoded Message #1(left) and #2(right)
([98,173,225],[38,98,138],[33,94,133],[76,162,221],[26,62,84],[72,147,201],[-6,22,49],[33,98,149]),([43,99,131],[47,134,198],[52,128,178],[45,132,195],[14,43,71],[84,177,246])
2c. Problem: If the "Key" matrix K is given as indicated below, use the row operations method to determine the inverse matrix K-1.
K=([4,9,2],[3,5,7],[8,1,6])
For Part 2b, with this knowledge, and supplied with the following inputs as assumed "known values":Decode the following: Encoded Messages #3(left) and #4(right)
([264,226,260],[287,194,329],[228,149,178],[381,358,371],[242,214,234],[280,180,320]),([133,184,223],[124,227,174],[251,134,245],[285,356,319],[188,177,250],[307,314,309],[142,220,178])
Please solve this problem using MATLAB

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!