Stuart’s MATLAB Videos

Watch and Learn

Posts 31 - 40 of 208

Results for: Level: Basic

Using Cody for algorithm development 1

Do you need to develop an algorithm in MATLAB? Do you have tests in MATLAB that would tell you if the algorithm were working correctly? If you do, you might not need to actually write the MATLAB… read more >>

Monte carlo testing of the Luhn checksum in MATLAB

This video builds on the last one. A quick monte carlo test is built to see if the Luhn Algorithm really will detect transpositions. The testing indicates that only one pair of numbers transposing… read more >>

Luhn checksum implemented in MATLAB

The Luhn algorithm is a fast checksum that allows you to know if an entered series of numbers has any of the repeated digits or transpositions that are common when typing numbers in. By having a… read more >>

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

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

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

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 31 - 40 of 208