Question: Matlab language please! I am stuggling with the concept, or even what is asking! Can anyone help?? Lab Assignment 5 - Encoder CSCI 251 A
Lab Assignment 5 - Encoder CSCI 251 A little history on encryption and decryption: Did you know that during the end of World War II, Navajos were used to send decoded English messages for the military? These men would verbally encrypt, transmit and decode (decrypt) messages nearly verbatim from English, to Navajo, and back into English again. Problem Statement Create an encryption for an input input file, though not nearly as sophisticated as the Navajos in World War II Input Data . Message, string/text Output Data . Echo message Encrypted message Decrypted message Getting Started 1. In Command Window type edit encryptFile.m. You will be prompted that the file does not currently exist; select okay. MATLAB will open the file in the editor 2. Include header comments formatted as shown below (you may want to copy and paste the header from a previous lab assignment and edit it). % CSCI 251, Section X Jane Doe % Student ID 12345678 % Lab Assignment 5 % Due % In keeping with the Honor Code of the School of Engineering, I have neither % given nor received assistance from anyone other than the instructor. %Problem Statement Algorithm 1. 2. Clear the Command Window and Workspace windows. Prompt for a message. In Command Window, type help input in order to determine how to read input as a string/text as opposed to a number Using a for-loop, step through each character in the line and encrypt each letter to the letter 6 positions beyond it in the alphabet. That is, a g, b--h, c-i, d-j and so on. Using this encryption, "Potter" would be represented as "Vuzzkx. On Blackboard, open notes or example code provided in class related to For Loop and figure out how to step through a sentence one character at a time. 3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
