Question: MATLAB Use the information given from preexisting Morse.mat data file in Matlab, and create the following two functions: (1) morseEncoder.m that reads a passcode in
MATLAB
Use the information given from preexisting Morse.mat data file in Matlab, and create the following two functions: (1) "morseEncoder.m" that reads a passcode in English characters and return the passcode as a Morse code (2) "morseDecoder.m" that reads a Morse passcode and return the passcode in English characters. Apply morseEncoder function on the passcode "AZ4M6NN0S789P" and print the morse code result in command window. Next, apply the morseDecoder function to the result of previous step andreproduce the orginal passcode in English. Print the result in command window.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
