Question: Function Description: Given a character vector containing a message, follow these steps in the correct order to decipher it: 1. Starting with the first index
Function Description:
Given a character vector containing a message, follow these steps in the correct order
to decipher it:
1. Starting with the first index of the char vector, shift every third index up 2 ASCII
values (for example, 'q' 's' )
2. Replace all underscores '_' with a single space
3. Capitalize the first letter of every word in the sentence
Example:
mixed = 'qalr_tfe_uatcr_`efmre]boglilg_gt'
fixed = mealPrep(mixed)
fixed 'Salt The Water Before Boiling It'
Please help me on this question. Solve using MATLAB. Do not use conditional statements or Iterations on this problem to receive a thumbs up!! All the information is given!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
