Question: solve problem 6 only using matlab, get info from other problems if needed. Problem 4) Consider the following information about metals: ity, Crystal g/cm3 Structure
solve problem 6 only using matlab, get info from other problems if needed.



Problem 4) Consider the following information about metals: ity, Crystal g/cm3 Structure Atomic Atomic Densi Metal Symbol Number Weight 2.71 8.94 7.87 10.22 8.9 6.0 FCC FCC BCC BCC HCP BCC 13 29 26 26.98 63.55 55.85 95.94 58.93 50.94 Al Fe Mo Cobalt Vanadium 27 23 a) Create the following arrays: Store the name of all metals into a cell arrav. . 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 (i.e., form dataCellArray): . Find the name, atomic weight, and crystal structure of the fourth element in dataCellArray. Find the average atomic weight of all the elements in dataCellArray . Problem 4) Consider the following information about metals: ity, Crystal g/cm3 Structure Atomic Atomic Densi Metal Symbol Number Weight 2.71 8.94 7.87 10.22 8.9 6.0 FCC FCC BCC BCC HCP BCC 13 29 26 26.98 63.55 55.85 95.94 58.93 50.94 Al Fe Mo Cobalt Vanadium 27 23 a) Create the following arrays: Store the name of all metals into a cell arrav. . 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 (i.e., form dataCellArray): . Find the name, atomic weight, and crystal structure of the fourth element in dataCellArray. Find the average atomic weight of all the elements in dataCellArray
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
