Question: You may load the data into MATLAB with the command load toxic.csv. The data will then be in an array called toxic. The column information

You may load the data into MATLAB with the command load toxic.csv. The data will then be in an array called toxic. The column information represents:

Column 1: Year AD

Column 2: Cadmium (nanograms per gram)

Column 3: Lead (nanograms per gram)

Column 4: Thallium (nanograms per gram)

ALLOWED SYNTAX: Complete the following (1) WITHthe use of for loopsand conditional blocks[i.e. if-elseif...else-end]; (2) you may NOT use any syntax requiring the dot operator; (3) you may use relational operators on scalars but you may NOTuse them on arrays. (Relational operatorsinclude: <, >, <=, >=, ==, ~=) (4) You may reuse theyears that were found using the find function in Section 1.

1.How many years during the period of this data set have a lead concentration greater than 0.2 ng/g?

2.For what percentage of the years during the 1800s (1800-1899) is the lead concentration greater than 0.01 ng/g?

3.What is the most recent year during which lead is greater than 100times the concentration of cadmium?Whatis the concentration of Pb that year?

4.For which year during the 1900s (1900-1999) did cadmium contribute its largest fraction to the total heavy metal concentration (i.e., year with largest Cd/(Pb+Cd+Th))?What is that value?(hint: help max)

5.[Up to 2pt bonus]During which decades (i.e, 1900-1909, 1910-1919, etc.) of the 1900s did lead concentration exceed 0.3 (ng/g)?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!