Stuart’s MATLAB Videos

Watch and Learn

Posts 11 - 20 of 34

Results for: 2013

Populating a uicontrol and reading a directory in MATLAB 1

Recently, a MATLAB user asked me how to build a UI which lets the user display any image in a directory by selecting the name of the image from a pop-up menu. This uses a few concepts like the DIR… read more >>

Using the right visualization for understanding data in MATLAB

It is often easier to acquire or generate data than it is to understand the data. In this video, we explore different options for visualizing data to gain better insight to solve a problem…. read more >>

Plotting a matrix in MATLAB 1

Many times we use difficult syntax in MATLAB because we do not know there is a better way and do not know to look for a better way. A recently saw some MATLAB code that could have been a lot… read more >>

Customizing the color of an edit box in MATLAB

A MATLAB user recently asked me how the UI shown here was made. Those grey boxes are made from edit boxes that have been customized. This video shows how it is done. if (typeof(playerLoaded) ===… read more >>

Knowing when to optimize code in MATLAB

I work with a lot of recent computer science graduates who are learning MATLAB. Something I see from them is they often want to choose some complicated but fast algorithm to do a task I give to them… read more >>

Working with dates in MATLAB 5

I am a little obsessive about data visualization. I have a side project selling a book I wrote. The data is not in a nice time history form, so I need to manually gather the data then reformat and… read more >>

Vacation Repost

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… read more >>

Combinatorics

I was asked recently how to generate all the combinations from two possible outcomes. It reminded me of a recent post on Flowing Data about the sum of two dice. This is a nice little function,… read more >>

Making a line visible over an image in MATLAB 5

It can be difficult to see a line that is drawn over an image. The line is often lost in the background colors. That is why cursors are colored as they are, so that they are visible on any… read more >>

Quick Tip: Speeding up debugging iterations 4

This week’s video is a quick tip to help speed up iterations when debugging MATLAB code. If your code requires user interactivity, such as selecting a file or folder from a dialog box, consider… read more >>

Posts 11 - 20 of 34