Matlab Class Home
Class Outline
Previous Class
Next Class
Evaluation 10
Goal for Week 10: Working with time and calendars
Summary of new tools and commands.
datenum
calculate a running day number (matlab time) from calendar information
datestr
recover a calendar date, as a string, from a matlab time
datevec
recover a calendar date, as integers, from a matlab time
datetick
put calendar information on axis tick marks
datetime
creates an input string for juliandate()
juliandate
convert a (gregorian) calendar date to a julian date
mjuliandate
convert a (gregorian) calendar date to a modified julian date
legend
put a text box with information on a graph
linspace
construct a set of numbers spanning two values
gradient
estimate the derivative from a list of values assuming constant spacing
diff
calculate the difference between successive numbers in a list
integral
estimate the value of an integral given a function and limits
trapz
estimate the integral of uniformly spaced values
cumsum
calculate the cumulative sum of values in a list
axis
control properties of the axis of a graph
grid
add grid lines to a graph
Tasks for Week 10
Tasks
1
MATLAB time functions
2
Adding calendar labels to plots
3
Controlling color and line characteristics on plots
4
Controlling axis properties
5
Estimating the values of derivatives and integrals
Matlab Class Home
Class Outline
Previous Class
Next Class
Evaluation 10
email: J. Klinck