Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Matlab language please! I am stuggling with the concept, or even what is asking! Can anyone help?? Lab Assignment 5 - Encoder CSCI 251 A

Matlab language please! I am stuggling with the concept, or even what is asking! Can anyone help?? image text in transcribed
image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Online Systems For Physicians And Medical Professionals How To Use And Access Databases

Authors: Harley Bjelland

1st Edition

1878487442, 9781878487445

More Books

Students also viewed these Databases questions

Question

Explain what is meant by the matching concept?

Answered: 1 week ago