Question: Can you please solve this three part problem in the MATLAB Programming Language? Homework 7.1-7.3 You have just recovered a probe that was collecting soil

 Can you please solve this three part problem in the MATLABProgramming Language? Homework 7.1-7.3 You have just recovered a probe that was

Can you please solve this three part problem in the MATLAB Programming Language?

Homework 7.1-7.3 You have just recovered a probe that was collecting soil samples for microbes in remote sections of the Atacama Desert. The probe collected the following pieces of information for each soil sample: raw1, the first half of initial information about microbes from a scanning electron microscope raw2, the second half of initial information about microbes from a scanning electron microscope nitro Data, nitrogen levels for the soil oxyData, oxygen levels for the soil All 4 pieces of data are arrays of the same length. While this data was stored in a RAID array, and is intact, the storage location where data processing functions are stored was corrupted from exposure to the elements. You are tasked with fixing the corrupted data processing programs. Use the degbugging protocol slides to guide you. 5.1 sem Processing. sem Processing should take the two numerical arrays as inputs. Both input arrays have the same length. Its output should an array that is the length of the two inputs. Each element of the output should be the greater element from the input arrays at the same index. 5.2 semTest. semTest runs an algorithm that checks for locations that contain microbes. Your previous research has shown that microbes are generally present at locations that show up as local maxima in processed data, and are not present elsewhere. Your program should take an array as an input and compare each element to the elements in the index before and index after, noting the indices with local maxima. semTest has 2 outputs: An array of the indices of soil samples that contain life An array of the indices of soil samples that do not contain life o o 5.3 soilinfo. soilinfo takes 4 inputs: nitrogen data for soil samples O oxygen data for soil samples the indices of soil samples that contain life the indices of soil samples that do not contain life And sorts that information into 4 arrays: o nitrogen levels in soil samples with life nitrogen levels in soil samples without life oxygen levels in soil sample with life o oxygen levels in soil samples without life o Testing Code Your research supervisor has provided you with a script, microbeDataCompare.m, that is not corrupted, and will run your salvaged scripts to generate two plots of soil data. Download soil MicrobeData.mat to your MATLAB folder prior to trying this. The plots should look like this if you have successfully debugged your program: Soil Nitrogen Levels 60 o 40 With Microbes Without Microbes Mean With Mean Without O 20 g 0 0 10 20 30 40 50 60 70 Soil Oxygen Levels 20 15 A With Microbes Without Microbes Mean With Mean Without 10 5 0 0 10 20 30 40 50 60 70 Submitting on zyBooks Each of the three programs you fix has its own zybooks submission. You can use this submission to help you determine if an individual program is working. Homework 7.1-7.3 You have just recovered a probe that was collecting soil samples for microbes in remote sections of the Atacama Desert. The probe collected the following pieces of information for each soil sample: raw1, the first half of initial information about microbes from a scanning electron microscope raw2, the second half of initial information about microbes from a scanning electron microscope nitro Data, nitrogen levels for the soil oxyData, oxygen levels for the soil All 4 pieces of data are arrays of the same length. While this data was stored in a RAID array, and is intact, the storage location where data processing functions are stored was corrupted from exposure to the elements. You are tasked with fixing the corrupted data processing programs. Use the degbugging protocol slides to guide you. 5.1 sem Processing. sem Processing should take the two numerical arrays as inputs. Both input arrays have the same length. Its output should an array that is the length of the two inputs. Each element of the output should be the greater element from the input arrays at the same index. 5.2 semTest. semTest runs an algorithm that checks for locations that contain microbes. Your previous research has shown that microbes are generally present at locations that show up as local maxima in processed data, and are not present elsewhere. Your program should take an array as an input and compare each element to the elements in the index before and index after, noting the indices with local maxima. semTest has 2 outputs: An array of the indices of soil samples that contain life An array of the indices of soil samples that do not contain life o o 5.3 soilinfo. soilinfo takes 4 inputs: nitrogen data for soil samples O oxygen data for soil samples the indices of soil samples that contain life the indices of soil samples that do not contain life And sorts that information into 4 arrays: o nitrogen levels in soil samples with life nitrogen levels in soil samples without life oxygen levels in soil sample with life o oxygen levels in soil samples without life o Testing Code Your research supervisor has provided you with a script, microbeDataCompare.m, that is not corrupted, and will run your salvaged scripts to generate two plots of soil data. Download soil MicrobeData.mat to your MATLAB folder prior to trying this. The plots should look like this if you have successfully debugged your program: Soil Nitrogen Levels 60 o 40 With Microbes Without Microbes Mean With Mean Without O 20 g 0 0 10 20 30 40 50 60 70 Soil Oxygen Levels 20 15 A With Microbes Without Microbes Mean With Mean Without 10 5 0 0 10 20 30 40 50 60 70 Submitting on zyBooks Each of the three programs you fix has its own zybooks submission. You can use this submission to help you determine if an individual program is working

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!