# Stuart’s MATLAB VideosWatch and Learn

Posts 11 - 20 of 33

# Read data from the web with URLREAD27

I am blogging a little early this week because of the holiday. What holiday would that be? Square Root Day– 03/03/09. What makes this a particularly special event is that today’s video… read more >>

# Dynamic field name usage17

This short video shows how you can make your code shorter, more flexible, and readable by using a string variable to reference a field in a structure. This is called dynamic field name reference or… read more >>

# Binning data in MATLAB23

I have been reading the MATLAB questions in Stack Overflow for a few weeks, and here was a really good question that came through. With two vectors, x and y, bin the x values as if with a… read more >>

# MATLAB example: Don’t reinvent the thermometer

My last post talked about finding MATLAB code from other people so that you do not have to reinvent it yourself. Eric, the author of the code I modified, challenged me to create “a new Matlab… read more >>

# MATLAB example: Don’t reinvent the wheel1

I love a good visualization of data, and often cringe when I see data in a table that would be much more effective as a graph. As with many people in Boston today, I am trying to decide what to do… read more >>

# Video Tutorial: Using visualization to debug3

A question came up on the MATLAB newsgroup about debugging a sorting algorithm. I thought this was an excellent opportunity to show how visualization of intermediate results would help to determine… read more >>

# Video tutorial: Debugging a logical indexing problem4

I love getting well formed question and challenges from fellow MATLAB users. This week I got one that works very well as a video. The problem was trying to index into a vector with a vector of… read more >>

# MATLAB Puzzler: Finding the two closest points23

Here is a new MATLAB Puzzler. Given two vectors representing the X and Y coordinates of some points, find the two closest points in Cartesian space. n = 10; x = rand(1,n); y = rand(1,n); … read more >>

# MATLAB Puzzler: Removing columns and rows from binary matrices35

I am trying something new this week: the MATLAB Puzzler. Rather than just work one of the Practical Examples directly, I am doing it in two parts. The first I will pose the MATLAB puzzler and say… read more >>

# Practical Example: Placing a sampling grid in a polygon part two1

This is the second video in this series, it shows you how to run a very simplistic optimization. For a simple problem like this one, the algorithm is more than sufficient to find a correct answer to… read more >>

Posts 11 - 20 of 33