Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help on number 5. My MATLAB program for number 4 is attached. roblem 4) Consider the following information about metals: Crystal Metal Symbel

I need help on number 5. My MATLAB program for number 4 is attached. image text in transcribed
image text in transcribed
roblem 4) Consider the following information about metals: Crystal Metal Symbel Number Welight /m 13 26.98 271 FCC 29 63.55 894 ICC 26 55.85 7.87 BCC Molybdonsm o42 95.94 10.22 BCC 27 5893 9 HCP 23 SO 94 60 BCC Coppe Iron Al Cu fe Coba Co 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 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 (Le, form dataCellarray) Find the name, atomic weight, and crystal structure of the fourth element in dataCellArra Find the average atomic weight of all the elements in dataCellrray Problem 5) Store the information presented in Problem 4 into a structure array. Name yousr structure array dataStructArray. Use your structure array to determine a) the maximum density b) the element with the maximum density c the element with the maximum atomic weight. roblem 4) Consider the following information about metals: Crystal Metal Symbel Number Welight /m 13 26.98 271 FCC 29 63.55 894 ICC 26 55.85 7.87 BCC Molybdonsm o42 95.94 10.22 BCC 27 5893 9 HCP 23 SO 94 60 BCC Coppe Iron Al Cu fe Coba Co 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 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 (Le, form dataCellarray) Find the name, atomic weight, and crystal structure of the fourth element in dataCellArra Find the average atomic weight of all the elements in dataCellrray Problem 5) Store the information presented in Problem 4 into a structure array. Name yousr structure array dataStructArray. Use your structure array to determine a) the maximum density b) the element with the maximum density c the element with the maximum atomic weight

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

=+ a. How does this change affect the incentives for working?

Answered: 1 week ago