Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
MATLAB exercises Engineering 240 due January 11, 2011 1. Go to http://www.wunderground.com and enter the city chosen in class. 2. Pick a day and look up the weather history. 3. Export the data as a .csv file 4. Import the data file in EXCEL or another spreadsheet program 5. Edit the data file: just save the temperature column. 5. Import the temperatures into MATLAB and store them in a array. 6. Compute the mean (average) and standard deviation of the temperatures. 7. Create an array of times (in decimal hours) to pair up with your temperatures. 8. Create a script file to plot temperature as a function of time in hours, and then run the script. Your plot should also include • a title including city and date • the standard deviation and mean displayed • a solid horizontal line showing the mean temperature • dashed horizontal lines showing mean+stdev and mean-stdev temperatures • some big blobby shapes marking data points • labels on the time and temperature axes 9. Export your graph as a PDF file. 10. E-mail [email protected] the graph PDF file and your script (M-file) that generated it.