Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using Matlab, solve 3. b) powerdata.dat http://tinyurl.com/hgmkvfs The power output from a local power plant is measured in unit of megawatts over a period of
Using Matlab, solve 3. b)
powerdata.dat http://tinyurl.com/hgmkvfs
The power output from a local power plant is measured in unit of megawatts over a period of eight weeks. All the data during this period is stored in a data file powerdata.dat. (open this data file and understand the structure). Each row in data file represents power output from one week, and contains the output for dayl, day2, day7. All value has unit of mega-watts. Create a M file to calculate three following things: Average output of total 56 days. Give result a name as Mpower Number of days that power plant outputs an over-average power, named as Nd; it means you need to find how many value in matrix powerdata that is greater than the average output calculated from part (i). Use 'for-loop' or 'find' to construct a two-column matrix named as wd_listl. The first column records the week number. The second column records the day of this week that the over-average-power happened. The following gives an example of matrix wd_listl. Two numbers in each row show which week and which day of that week when an over-average- power happened. The power output from a local power plant is measured in unit of megawatts over a period of eight weeks. All the data during this period is stored in a data file powerdata.dat. (open this data file and understand the structure). Each row in data file represents power output from one week, and contains the output for dayl, day2, day7. All value has unit of mega-watts. Create a M file to calculate three following things: Average output of total 56 days. Give result a name as Mpower Number of days that power plant outputs an over-average power, named as Nd; it means you need to find how many value in matrix powerdata that is greater than the average output calculated from part (i). Use 'for-loop' or 'find' to construct a two-column matrix named as wd_listl. The first column records the week number. The second column records the day of this week that the over-average-power happened. The following gives an example of matrix wd_listl. Two numbers in each row show which week and which day of that week when an over-average- power happenedStep 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