Question: Write a function in Matlab. c = find(size) which searches for the string given by the variable size in all files in the current folder.
Write a function in Matlab. c = find(size) which searches for the string given by the variable size in all files in the current folder. The function should return a vector with the number of occurrences of the string in the different files. The order of the files is the one to which the call to you returns. If there are no available files ending in .txt, the function should return an empty vector.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
