Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Need matlab help, also can you explain how you did it I'm lost. Function Name: braid Inputs: 1. (char) A 1 times N string 2.
Need matlab help, also can you explain how you did it I'm lost.
Function Name: braid Inputs: 1. (char) A 1 times N string 2. 2. (char) A 1 times N string 3. (char) A 1 times N string Outputs: 1. (char) A 1 times (3'N) string combining the input strings Function Description: Oh nol The radios used to call plays to the quarterback have mysteriously stopped working at Mercedes-Benz stadium! Luckily, Coach Paul Johnson always has a plan. He and two assistant coaches encode the plays into three separate message boards for everyone to see. QB Matthew Jordan quickly catches on, but he didn't learn MATLAB as part of his BBA, so he has DB Zach Matthews, an ME, write a decoder for him. Here are the rules for decoding. Your three input string components will be the same length and should be "woven" or "braided" together so that the first string will be at the 1st, 4th, 7th indices and the 2nd string will be at the 2nd, 5th, 8th.. indices and the 3rd string will be at the 3rd, 6th, 9th... indices. Once you have created this string, reverse it to find the hidden message. Example: Given the three strings "GR PXE" "NTEMEH" and "ISLA T", the string created by braiding the strings together will be "GNIRTS ELPMAXE EHT". Continuing with this example, your final output string would read: "THE EXAMPLE STRING" Think about using the colon operator to create an index vector. For even more funzies, you could write the inverse of this function (a function that takes a string and encodes it). Then you can be just like your icon, Coach Paul Johnson! *Plan developed for use against u(sic)ga, as they would never catch on Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started