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 15:30
Some of the items below indicate the steps required to move a slide to a different location in a presentation. select those steps and indicate the order in which they should be performed to move the slide. (for example, if an item describes what you do first, select 1.) included in the list are items that are not part of the process. for these items, select n/a, an abbreviation for not applicable. 1 — first 2 — second 3 — third 4 — fourth 5 — fifth 6 — sixth n/a — not applicable drag the slide to the desired place. enter the slide position desired. hold the mouse button down. select move from the tools menu. select the slide. switch to the notes view.
Answers: 3
question
Computers and Technology, 22.06.2019 13:00
Which option should u select to ignore all tracked changes in a document
Answers: 1
question
Computers and Technology, 22.06.2019 21:40
Develop a function to create a document in the mongodb database “city” in the collection “inspections.” be sure it can handle error conditions gracefully. a. input -> argument to function will be set of key/value pairs in the data type acceptable to the mongodb driver insert api call b. return -> true if successful insert else false (require a screenshot)
Answers: 2
question
Computers and Technology, 23.06.2019 06:30
When early motion pictures played in movie theaters, they were often accompanied by live organ or piano music. which of the following are the most likely reasons that this happened? (select all that apply). the music was provided to distract audience members from the loud sounds made when filmstrips were changed. the music accompanied the movies because the movies were silent and audiences were used to hearing music during plays in theaters. the music usually was played before, and sometimes after the movie, as an alternative form of entertainment. the music viewers to interpret the dramatic action in the films.
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, 24.11.2019 23:31
Questions on the website: 13722363