# Generalizing the access to an array of structures in MATLAB2

Recently a MATLAB user asked me how to make it possible to work with an array of structures in such a way that she could filter the array of structures and then combine the remaining fields. Once… read more >>

# Using logical indexing to plot points meeting a specific criteria only.

If you have a vector of coordinate for a set of points, you might want to differentiate those points. To do that a concept called logical indexing will help you pull out a subset of those points… read more >>

# Sudoku solver in MATLAB by webcam1

From our Japan office via Steve’s blog: This just tickles my fancy, and I think everyone should watch it. … read more >>

# Graphics challenge10

When I teach the MATLAB graphics class for new technical support engineers at MathWorks, I have one major exercise for them to do. This is that exercise. if (typeof(playerLoaded) === ‘undefined’)… read more >>

# Code review: finding the closest point on a surface

This video shows the implementation of the plan for how to find the closest point on a surface to a given point. This is a numerical approximation that avoids the inevitable complexities of solving… read more >>

# Set up: Finding closest point on a surface4

This video sets up the plan for how to find the closest point on a surface to a given point. This is a numerical approximation that avoids the inevitable complexities of solving the problem exactly… read more >>

# Advanced: Speeding up an enumerated string search in a data mining application3

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

# Integrating to find the volume underneath a set of nonuniformly spaced data13

This video covers the use of GRIDDATA, anonymous functions, and QUAD2D to integrate the volume under a set of randomly spaced data points. First an interpolation scheme must be put in place, then a… read more >>

# Basics: Code review- the thought process in rewriting code for clarity14

This short video covers the thought process of rewriting some code for clarity. The six lines of code are lengthened into twice that. The code is much more readable and maintainable. The problem… read more >>

# Modeling your Mom’s head with MATLAB1

I frequent Twitter as MATLABDoug. You can check there for daily MATLAB tips in 140 characters or less, blog post announcements and other things that I find interesting. While reading the… read more >>