Question: Lab 3 Label the x axis with the years. Don't hard code the years, get them from the data file. Label the title with the

Lab 3 Label the x axis with the years. Don't hard
code the years, get them
from the data file.
Label the title with the day and years
plotted and and the sub-title with
the smoothing levels. Don't hard code the
numbers. Get the numbers from
the data file and the user input.
The 2nd example plot has a dark theme
which we will learn to do soon. You don't
need to do it for this assignment, but if you
want to be ambitious you can read about
MATLAB plot colors and give it a try. Example Plot:
Daily Low and High Day 02-021869 to 2023
Daily Low and High Dav 020021869 to 2023
Write a MATLAB program that prompts the
user to enter a day of the year
in mm-dd format: February 4 would be input
as 02-04.
Plot the daily lows and highs for that day of
all the years from 1869 to
2023 at two different smoothing levels
specified by the user. Use moving
mean smoothing for the 1st level of
smoothing, and Gaussian smoothing for
the 2nd level of smoothing. There should be
4 curves: Daily Lows with 2
levels of smoothing, and Daily Highs with 2
levels of smoothing. Plot the
curves with different colors, and use a
thicker line for the level 2
smoothed curve.
Lab 3 Label the x axis with the years. Don't hard

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 Programming Questions!