491272f8128bbe8fc3ff664908d8e6de_9aa258e66d33f2e35f5e180bcf0a4915.docx

# 491272f8128bbe8fc3ff664908d8e6de_9aa258e66d33f2e35f5e180bcf0a4915.docx

• Test Prep
• 5

This preview shows pages 1–3. Sign up to view the full content.

Excel Project – Matrix Applications Part 1 – Cryptography Matrices can be used to encode and decode messages. To begin with, we could assign the numbers 1-26 to the letters of the alphabet and assign the number 0 to a space between words. Then, we could translate any verbal message into a string of numbers from 0 to 26. Below is a table of each letter and its corresponding number. Blan k A B C D E F G H I J K L M 0 1 2 3 4 5 6 7 8 9 10 11 12 13 N O P Q R S T U V W X Y Z 14 15 16 17 18 19 20 21 22 23 24 25 26 1. We will use the matrix A below as the encoding matrix for our message. A = [ 1 1 1 2 1 2 3 3 1 ] Enter the encoding matrix A in your spreadsheet and label it. 2. Suppose we want to encode the message “SECRET CODE”. Start by translating the message into numbers using the correspondence above. 3. Now put these numbers into a matrix B that will have 3 rows. Start with the first number in the upper left and move down the first column until you have 3 rows. When you fill the column, start over in the second column. Fill in the matrix B with the numbers corresponding to the message. If you need to, add any extra blanks to the end of the message to fill out the matrix. Create matrix B on your spreadsheet and make sure to label it. 4. To encode a message, simply take the matrix that contains our message, matrix B , and multiply on the left by the encoding matrix A . Using Excel, find matrix AB and label it. Now our message “SECRET CODE” has been encoded and is represented by the numbers in matrix AB .

This preview has intentionally blurred sections. Sign up to view the full version.

5. Suppose now that you are the one receiving this encoded message as represented by matrix AB , and you want to decode it to see what it says. To do this, you will need the decoding matrix A 1 . Find A 1 and label it.
This is the end of the preview. Sign up to access the rest of the document.
• Winter '15
• Faiz Hamid

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern