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

评论

要发表评论,请点击 此处 登录到您的 MathWorks 帐户或创建一个新帐户。