Question: only matlab You will write a function called as character_finder which will find the number of existence of as specific character in a text file.

 only matlab You will write a function called as "character_finder" which

only matlab

You will write a function called as "character_finder" which will find the number of existence of as specific character in a text file. The function will take two input arguments: i) "fileName" as the char vector of the filename and ii) the "character" as the specific character that will be counted. The returning argument will be called as "numberOfChar", the number of characters that are found. If the input argument "character" is not a valid char or if the file does not exist in the working directory, the function will return -1

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!