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, 23.06.2019 04:31
Jennifer has to set up a network in a factory with an environment that has a lot of electrical interference. which cable would she prefer to use? jennifer would prefer to use because its metal sheath reduces interference.
Answers: 1
question
Computers and Technology, 23.06.2019 16:00
Which analyst position analyzes information using mathematical models to business managers make decisions?
Answers: 1
question
Computers and Technology, 23.06.2019 20:30
If chris has a car liability insurance, what damage would he be covered for
Answers: 1
question
Computers and Technology, 24.06.2019 18:20
Use a while-end loop in a script file to calculate the sum of the first n terms of the series: summation sign on the top n bottom k=1 : )^k * k^2 +5k)/3^k show the script file and the two results of n = 10 and n = 20.
Answers: 2
You know the right answer?
Consider the following information about metals: a) create the following arrays: store the name of...
Questions
question
Mathematics, 01.09.2021 15:10
question
Mathematics, 01.09.2021 15:10
question
Mathematics, 01.09.2021 15:10
Questions on the website: 13722362