Stuart’s MATLAB Videos

Watch and Learn

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 >>

Pause MATLAB to Add a Breakpoint

Posted by Stuart McGarrity,

Another nice benefit of being able to pause MATLAB now is that you can add a breakpoint after you have started running your code. Here I give an example of doing that.
Features covered in this code-along style video include:

Pause button
Breakpoint setting

Follow me (@stuartmcgarrity) if you want to be notified… 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 >>

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

Posted by Stuart McGarrity,

Here I continue with Cody Code-Alongs for the Release 2016b Features Challenge. This problem looks at converting between strings and cell arrays of character arrays with missing values. I could not however figure out a better way to set string elements to <missing>.
Features covered include:

string, cellstr

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

These postings are the author's and don't necessarily represent the opinions of MathWorks.