I need help on number 5. My MATLAB program for number 4 is attached.
roblem 4) Consider the following information about metals: Crystal Metal Symbel Number Welight /m 13 26.98 271 FCC 29 63.55 894 ICC 26 55.85 7.87 BCC Molybdonsm o42 95.94 10.22 BCC 27 5893 9 HCP 23 SO 94 60 BCC Coppe Iron Al Cu fe Coba Co a) Create the following arrays: Store the name of all metals into a cell array . Store the symbol for all these metals into a cell array Store the atomic number into an int8 integer array. (Hint: get help and use the int8 () command) . Store the atomic weight into a numeric array . Store the density into a numeric array Store the crystal structure into a single padded character array (Hint: get help and use the char () command) b) Group the arrays you created in part (a) into a single cell array, named dataCellArray c) Extract the following information from your cell array (Le, form dataCellarray) Find the name, atomic weight, and crystal structure of the fourth element in dataCellArra Find the average atomic weight of all the elements in dataCellrray Problem 5) Store the information presented in Problem 4 into a structure array. Name yousr structure array dataStructArray. Use your structure array to determine a) the maximum density b) the element with the maximum density c the element with the maximum atomic weight. roblem 4) Consider the following information about metals: Crystal Metal Symbel Number Welight /m 13 26.98 271 FCC 29 63.55 894 ICC 26 55.85 7.87 BCC Molybdonsm o42 95.94 10.22 BCC 27 5893 9 HCP 23 SO 94 60 BCC Coppe Iron Al Cu fe Coba Co a) Create the following arrays: Store the name of all metals into a cell array . Store the symbol for all these metals into a cell array Store the atomic number into an int8 integer array. (Hint: get help and use the int8 () command) . Store the atomic weight into a numeric array . Store the density into a numeric array Store the crystal structure into a single padded character array (Hint: get help and use the char () command) b) Group the arrays you created in part (a) into a single cell array, named dataCellArray c) Extract the following information from your cell array (Le, form dataCellarray) Find the name, atomic weight, and crystal structure of the fourth element in dataCellArra Find the average atomic weight of all the elements in dataCellrray Problem 5) Store the information presented in Problem 4 into a structure array. Name yousr structure array dataStructArray. Use your structure array to determine a) the maximum density b) the element with the maximum density c the element with the maximum atomic weight