Question: No Iterations or Conditionals or find() function MATLAB Input: (char) A 1xN Vector of characters. Output: (char) A 1xM Vector containing all of the capital
No Iterations or Conditionals or find() function MATLAB

Input: (char) A 1xN Vector of characters. Output: (char) A 1xM Vector containing all of the capital letters from the input vector (double) The number of capital letters in the input vector Skills Covered: - Extracting characters from a string Function Description: Note(s): - The find() function is banned - No conditional (e.g. if or switch) or iteration (e.g. for or while) statements can be used to solve this problem. If they are used, you will receive zero credit for this problem. - Use masking to select the data you want - The letters in the output vector should be in the same order as they occur in the input vector - You are guaranteed ther will be at least one capital letter in the input vector - The string might contain special characters other than ' ' and ' '. Hint(s): - A compound relational statement may be useful (e.g. (a>b)&(a
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
