Stuart’s MATLAB Videos

Watch and Learn

Results for: Uncategorized

Making a MATLAB Function to Re-Use Code

Posted by Stuart McGarrity,

Its common when you are developing code to find that you want to re-use a piece of it for some new dataset or task. Instead of copying and pasting, always consider writing a function. Here is an example of me doing this, moving the code out and updating my script… read more >>

Debugging a Tricky Look-up Table Indexing Problem

Posted by Stuart McGarrity,

This morning I needed to debug an issue with a regularly used script. The code was converting numerical columns in a table to strings or categoricals by using a lookup table. I had a few levels of indirection which made it more complicated to understand what was going on. Breaking… read more >>

Vacation Repost

Posted by Doug Hull,

Everyone, I will be out for the next few weeks. While that is happening I wanted to point my newer readers with two of the “long series format” that I have done before. They are just as relevant today as they were then. Volume Visualization in MATLAB Managing your code… read more >>

Importing data into MATLAB 1

Posted by Doug Hull,

With the new release of MATLAB, I was all excited to make a video about the tools for importing data into MATLAB. Then I realized that Sarah made an even better one. There are quite a few in this series…. read more >>

Release 2012B is live 6

Posted by Doug Hull,

Every six month we release a new version of MATLAB. This 2012B Release is kind of a big deal. There is a major change in the desktop that should increase the discoverability of features in MATLAB. Scott and I used to joke that the best release of… read more >>

Cycle analysis of a pseudo random number generator with MATLAB

Posted by Doug Hull,

This video furthers our analysis of the solitaire cipher, which is really just a pseudo random number generator. In this video, we estimate the cycle time of our random number generator to determine if it is good enough. @media (min-width: 992px) { .containing-block { width: 100%; } } … read more >>

Learning MATLAB 1

Posted by Doug Hull,

I commonly am asked how to learn MATLAB. Here are common questions and answers. What MATLAB books or MATLAB tutorials should I use? I am, of course biased on this. I think this blog is a great place to start. Look over at the categories list on the side. … read more >>

MATLAB training through Cody

Posted by Doug Hull,

Cody is one of my favorite ways of learning MATLAB. I have recently created a problem in Cody where you are to solve addition problems of this puzzle style: W A I T + A L L ——— G I F… read more >>