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

matlabmatlab Function Name: countThisLetter Input: 1. (char) The letter you are counting

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!