Write Script M File Following 1 Loads Cave Creek Runoff Data Set Cavecreektxt Contains Sin Q37145768

Write a script (.m file) that does thefollowing:

1. Loads the Cave Creek Runoff data set(cavecreek.txt), which contains a single column of monthly runoffvalues (in hundredths of an inch) from Cave Creek in Kentucky.

2. Constructs a vector of date numbers (serial)that correspond to the monthly mean data values for Oct. 1952-Sept.1970. Be smart here – how do you deal with strange things likeFebruary and leap years?

3. Calls a function (ser_corr_fcn.m), providedto you, which conducts an autocorrelation analysis and reports backa vector of lags and a vector of correlation coefficientscorresponding to the various lags.

https://serc.carleton.edu/details/files/79464.html

4. Plots the data and theautocorrelation analysis in a

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.