Question: No Iterations or Conditionals or find() function MATLAB Function Name: lastLetInds Input: 1. (char) string Output: 1. (double) a vector of the indices of the
No Iterations or Conditionals or find() function MATLAB

Function Name: lastLetInds Input: 1. (char) string Output: 1. (double) a vector of the indices of the last letter of every word Skills Covered: - Masking - String functions Function Description: Given a string with words separated by single spaces, output the indices of the last letter of every word. Input strings will only contain letters and spaces. The indices should be placed in order. Notes: - The find() function is banned Examples: out = lastLetinds( 'wowz3rz') out = 7
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
