Question
This is for my MATLAB programming class. I will appreciate the help because I am pretty much stuck Nested Loops 9.17 In the previous chapter,
This is for my MATLAB programming class.
I will appreciate the help because I am pretty much stuck
Nested Loops 9.17 In the previous chapter, the water elevation data for Lake Powell were evaluated using the find function. Repeat the calculations, using a nested loop structure. (a) Determine the average elevation of the water level for each year and for the eight-year period over which the data were collected. (b) Determine how many months each year exceed the overall average for the eight-year period. (c) Create a report that lists the month (number) and the year for each of the months that exceed the overall average. For example, June is month 6. (d) Determine the average elevation of the water for each month for the eight year period
Table 8.9 Water-Level Data for Lake Powell, Measured in Feet above Sea Level 2000 2001 2002 2003 2004 2005 2006 2007 January3680.12 3668.05 3654.25 3617.61 3594.38 3563.41 3596.26 3601.41 February 3678.48 3665.02 3651.01 3613 3589.11 3560.35 3591.94 3598.63 March 3677.23 3663.35 3648.63 3608.95 3584.49 3557.42 3589.22 3597.85 April May3 3676.44 3662.56 3646.79 3605.92 3583.02 3557.52 3589.94 3599.75 3676.76 3665.27 3644.88 3606.11 3584.7 3571.60 3598.27 3604.68 3682.19 3672.19 3642.98 3615.39 3587.01 3598.06 3609.36 3610.94 3682.86 3671.37 3637.53 3613.64 3583.07 3607.73 3608.79 3609.47 une Ju August3681.12 3667.81 3630.83 3607.32 3575.85 3604.96 3604.93 3605.56 September 3678.7 3665.45 3627.1 3604.11 3571.07 3602.20 3602.08 3602.27 Octobe 3676.96 3663.47 3625.59 3602.92 3570.7 3602.31 3606.12 3601.27 November 3674.93 3661.25 3623.98 3601.24 3569.69 3602.65 3607.46 3599.71 December 3671.59 3658.07 3621.65 3598.82 3565.73 3600.14 3604.96 3596.79
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started