bio_img_videos

Stuart’s MATLAB Videos

Watch and Learn

Posts 231 - 240 of 472

Results for: Format: Video

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

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

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

Posts 231 - 240 of 472