Question: (4) Write Matlab scripts/functions that: (a, 10 pt) Load sea-level data from file Level_AransasPass.txt ( on class website under folder exams/midterm ) (b, 10 pt)

(4) Write Matlab scripts/functions that:

(a, 10 pt) Load sea-level data from file Level_AransasPass.txt (on class website under folder exams/midterm)

(b, 10 pt) Finds missing data (flagged with -999 in the data file) using Matlabs function find and have your program replace them with NaNs.

(c, 10 pt) Create two subplots: in the top subplot plot both the verified (red solid line) and the predicted levels (blue solid line) vs. time; in the bottom subplot plot the difference between the verified and the predicted levels (use a broken black line) vs. time. Hint: use Matlabs datenum and datetick for the date/time axes.

(d, 10 pt) Adds grid, labels, titles, legend, and units.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!