Question: 3. Create a character array 'pats' with the following entries:, 'PHT45, 'PHT2 PHT273, PHT61; 'PHT14', PHT423PHT195' (these are anonymous patient IDs for a clinical study).

 3. Create a character array 'pats' with the following entries:, 'PHT45,

3. Create a character array 'pats' with the following entries:, 'PHT45, 'PHT2 PHT273, PHT61; 'PHT14', PHT423"PHT195' (these are anonymous patient IDs for a clinical study). Use two different methods to create this array. 4. Create the character string statement Where is patient PHT14?. Use strfind (read about this in the help) and the array pats you just created to locate the first occurrence of pats(5,1:5) in the string. 3. Create a character array 'pats' with the following entries:, 'PHT45, 'PHT2 PHT273, PHT61; 'PHT14', PHT423"PHT195' (these are anonymous patient IDs for a clinical study). Use two different methods to create this array. 4. Create the character string statement Where is patient PHT14?. Use strfind (read about this in the help) and the array pats you just created to locate the first occurrence of pats(5,1:5) in the string

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!