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, '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
Get step-by-step solutions from verified subject matter experts
