Question: matlab Function Name: countThisLetter Input: 1. (char) The letter you are counting 2. (char) The word you are looking in Output: 1. (double) The number
matlab
Function Name: countThisLetter Input: 1. (char) The letter you are counting 2. (char) The word you are looking in Output: 1. (double) The number of times the letter shows up in the word. (Case sensitive) Notes: - The find() function is banned Examples: answer1 = count ThisLetter ('g', 'concatenate') answer 1=0 answer 2= countThisLetter (' m ', ' mammals') answer 2=3 answer 3 = countThisletter (' e ' , 'deepened ') answer 3=4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
