Stuart’s MATLAB Videos

Watch and Learn

Posts 31 - 40 of 42

Results for: 2010

Puzzler: Benford’s law 23

I had a question come in recently from Denmark about wanting to implement Benford’s law. I first heard about this law on the Radiolab episode about Numbers. Radiolab is one of my favorite… read more >>

Deleting an element from a cell array 27

I recently had a situation where I needed to delete an entry from a cell array. When I tried A{3} = [ ], I did not delete the third element, I actual just set it to [ ]. What Loren… read more >>

Break and Continue 11

This video covers two flow control commands that do not get that much use, but can make your code clearer and easier to… read more >>

Top 10 MATLAB code practices that make me cry 138

I was chatting with the Application Support Engineers here at MathWorks about what kind of coding practices cause avoidable pain for MATLAB users. Without further ado: The top ten and quick… read more >>

Puzzler: Match play on blackjack, baccarat or other casino games 1

As with many math geeks, I am fascinated by casinos and the math surrounding them. I, however, like to win. Consequently, I have no interest in playing a game that I am mathematically destined to… read more >>

Basics: Making a vector the MATLAB way 2

I recently received an email asking me a question about how to create an array that is composed of different outputs from functions. The user was new to MATLAB, but had a background in programming… read more >>

Advanced: Getting an output from a GUIDE GUI 11

I had a well formed question from an advanced MATLAB user recently. He wanted to have an output come back from a GUI. There is an example of this with the modal dialog example in GUIDE. However, it… read more >>

Win a MATLAB t-shirt for a ten question survey

It has been a while since the last survey of MATLAB video watchers. This is a good time to think about what can be done to make these videos more valuable. Click here to take survey One in… read more >>

Advanced: Speeding up an enumerated string search in a data mining application 3

This week, I am going to cover a technique that I used to speed up a data mining application that had a search through enumerated strings looking for all the matches. Using this technique of… read more >>

Advanced: making a 2d or 3d histogram to visualize data density 41

This short video makes a 2d histogram as an alternative to plotting data points and visually estimating where the most data is. if (typeof(playerLoaded) === ‘undefined’) {var playerLoaded =… read more >>

Posts 31 - 40 of 42