Question
(USE Matlab) You are an electrical engineer working with renewable energy. The file Class17_watts.txt has the maximum power in Watts required in a house for
(USE Matlab)
You are an electrical engineer working with renewable energy. The file Class17_watts.txt has the maximum power in Watts required in a house for each day for the month of March. You want to compute the average power requirement for the month of March. You also want to know what the usage was on March 15th (the 15 data point in the file.) You will need to load the data into a vector and compute the average using a forloop. Additionally, print to the screen the 15th data point in the file to 1 decimal place and include units.
Class17_watts.txt
2005.6
1930.2
1965.6
2100.5
2065.8
1988.1
2024.6
2163.5
1945.4
1872.3
1906.6
2037.5
2010.3
1985.2
2600.3
1600.2
1899.9
1980.4
2004.3
1999.3
2025.3
1982.3
1984.6
2012.4
2035.6
2065.4
2003.4
2050.4
1950.3
2032.2
1976.7
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