Question: Use matlab for section D, a, b and c is provided: D) store sections a, b and c in a structure array. Name the structure
Problem 4) Consider the following information about metals: Atomic Atomic Density, Crystal Symbol Number ema Structure 13 26.98 2.7 FCC 63,55 8.94 26 55.85 7,87 BCC Molybdenum Mo 42 95.94 10.22 BCC HOP 58,93 8.9 50.94 6.0 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 int 80 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 (ie., form dataCellArray): Find the name, atomic weight, and crystal structure of the fourth element in data CellArray. 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
