Stuart’s MATLAB Videos

Watch and Learn

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Results for: Cody Code-Along

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

Posted by Stuart McGarrity,

In part 3 of this set of Cody problems, you need to count the number of trains in one day. Afterwards, I took a look at the solutions others have contributed, which can be very interesting.
Features covered in this code-along style video include:

timetable
datetime

Follow me (@stuartmcgarrity) if you want to… read more >>

Cody Code-Along on Facebook Live

Posted by Stuart McGarrity,

I tried out Facebook Live this afternoon, doing a MATLAB code-along using problems from Cody. I went through the Cody Challenge problem set that is recommended for new Cody users.
Here is the video on Facebook:

Play the video in full screen mode for a better viewing experience. Follow me (@stuartmcgarrity) if… read more >>

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

Posted by Stuart McGarrity,

In part 2 of this Cody problem you need to select the next departure from a train time table based on certain criteria. It does take me a few tries to return the answer in the format the problem wants.
Features covered in this code-along style video include:

timetable
datetime

Follow me (@stuartmcgarrity) if… read more >>

Cody Code-Along: R2016b Feature Challenge – When Was That Goal Scored? (One More Time) 1

Posted by Stuart McGarrity,

Here I try the first problem again in the Release 2016b Features Challenge. This time I don’t use regular expressions (with regexp), but use a new function in release 2016b (which I was kind of supposed to do the first time).
Features covered in this code-along style video include:

extractBetween

Follow me (@stuartmcgarrity)… read more >>

Cody Code-Along: R2016b Feature Challenge – Fix Addresses, Part 1 2

Posted by Stuart McGarrity,

You need to remove text between delimiters, in this “Cody Code-Along” for another problem in the Release 2016b Features Challenge.
Features covered in this code-along style video include:

replaceBetween
regexp

Follow me (@stuartmcgarrity) if you want to be notified via Twitter when I post.
if (typeof(playerLoaded) === ‘undefined’) {var playerLoaded = false;}(function isVideojsDefined() {if (typeof(videojs)… read more >>

Cody Code-Along: R2016b Feature Challenge – When Was That Goal Scored?

Posted by Stuart McGarrity,

In this “Cody Code-Along” for another problem in the Release 2016b Features Challenge, I try to extract some numbers from an XML string representing when goals were scored in a match.
Features covered in this code-along style video include:

regexp
cellfun

Follow me (@stuartmcgarrity) if you want to be notified via Twitter when… read more >>

Cody Code-Along: R2016b Feature Challenge – String Array Basics, Part 4 13

Posted by Stuart McGarrity,

In this “Cody Code-Along” for the next problem in Release 2016b Features Challenge I do the opposite of the previous one and convert a string array with missing values to a cell array.
Features covered in this code-along style video include:

string, cellstr

Follow me (@stuartmcgarrity) if you want to be notified via… read more >>