Question: Sub - function 1 : GetFileNames This function retrieves the names of all the files, with filenames that contain the KeyWord, 'Data', the Indicator, 'Hit',

Sub-function 1: GetFileNames
This function retrieves the names of all the files, with filenames that contain the KeyWord, 'Data', the
Indicator, 'Hit', and of the type Filetype from your current working directory.
[File Names]= GetFileNames (KeyWord, Filetype, Indicator)
The function uses as input:
KeywWord, which is the file name prefix that will be used to distinguish the relevant files that
You should use from the other files in your working directory.
Filetype, which is the extension of the files that contain the data that you need.
Indicator, which is a string that indicates whether the package hits the target, calculated in Project
It can either be 'Hit' or Miss'?
The function must produce as output:
FileNames, a cell array containing the full file names of the files that contain your desired prefix
and extension, for packages that Hit the target only. please do not disaply the code, it is matlab laguate not pyhon. explain to me and which fuctions to use for tsub function 1
Sub - function 1 : GetFileNames This function

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 Programming Questions!