Stuart’s MATLAB Videos

Watch and Learn

Cody Code-Along: R2016b Feature Challenge – Use a timetable to analyze a train timetable, Part 4

In part 4 of the train timetable set of Cody problems, you need to calculate the average trip duration for each day in the timetable. This one is about as exciting as watching paint dry as it takes me 5 min to figure out what the question is. I decided to use varfun with mean in the end.

Features covered in this code-along style video include:

  • timetable
  • datetime
  • varfun

Play the video in full screen mode for a better viewing experience. 

  • print


To leave a comment, please click here to sign in to your MathWorks Account or create a new one.