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
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