Stuart’s MATLAB Videos

Watch and Learn

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

Posted by Stuart McGarrity,

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

Follow me (@stuartmcgarrity) if you want to be notified via Twitter when I post.

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

Add A Comment

Your email address will not be published. Required fields are marked *

What is 6 + 10 ?

Preview: hide