subject

Consider the following information about metals: 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 int 8 integer array. 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. 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 off all the elements in datacellarray. answer for a: metalnames = {'aluminium', 'copper1, 'iron', 'molybdenum', 'cobolt', 'vanadium'}; % storing metal names in a cell array symbols = {'ar', 'cu', 'fe', 'mo', 'co', ' v'}; % storing metal symbols in a cell array atomicnumbers = int8([13, 29, 26, 42, 27, 23]); % storing metal symbols in an int8 array atomicweight = [26.98, 63.55, 55.85, 95.94, 58.93, 50.94]; % storing atomic weights in an integer array density = [2.71, 8.94, 7.87, 10.22, 8.9, 6.0]; % storing density in an integer array % storing crystal structure in single padded char array crystalstructurc = char(['fcc', 'fcc', 'bcc', 'bcc', 'hcp', 'bcc']); answer for b: % combining all the above in one cell array called datacellarray dataccllarray = {metalnames, symbols, atomicnumbers, atomicweight, density, crystalstructure}; answer for c: % finding 4rth element weight and crystalstructure fourthelement = {datacellarray{1, 1} {1, 4}, fourthelementwieght = datacellarray {1, 4} (l, 4), = datacellarray{l, 6}(7: 9)} average = mean(datacell array {1, 4})% mean of all atomicweights in datacellarray store the information presented in problem 4 into a structure array. name your structure array datastructarray. use your structure array to determine a) the maximum density. b) the clement with the maximum density. c) the element with the maximum atomic weight.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 21:40
Which is a benefit of getting information from a government website? a. the information will be easy to understand. ob. the information will be the most current. oc. the information can be trusted.
Answers: 1
question
Computers and Technology, 23.06.2019 18:00
Ramona enjoys her job because she is able to kids in an after school program. the work value ramona feels strongest about is a. leadership b. risk c. independence d. work with people select the best answer from the choices provided a b c d
Answers: 1
question
Computers and Technology, 24.06.2019 00:00
Consider the series where in this problem you must attempt to use the ratio test to decide whether the series converges. compute enter the numerical value of the limit l if it converges, inf if it diverges to infinity, minf if it diverges to negative infinity, or div if it diverges but not to infinity or negative infinity.
Answers: 1
question
Computers and Technology, 24.06.2019 13:00
Your mom wants to purchase a laptop computer. she said she wants her new computer to be able to play her dvds so she can listen to music and wants to know what type of optical drives will play her disk. which type of drive should she look for?
Answers: 1
You know the right answer?
Consider the following information about metals: a) create the following arrays: store the name of...
Questions
question
Biology, 28.02.2020 21:24
question
English, 28.02.2020 21:25