# Puzzler: Coin game11

Posted by Doug Hull,

This is a simplified version of the first problem I ever attempted to solve in MATLAB. For my original problem, I was trying to figure out the probability of being on any square in the board game Monopoly. That is a difficult problem from a book-keeping sense, but… read more >>

# Wrap up on Puzzler: Removing columns and rows from binary matrices1

Posted by Doug Hull,

The first puzzler was a big success with 33 comments added as I write this today. I wanted to go over some highlights from the comments and code that people put out there for critique.
First off, I want to say that several people posted code that solved the problem. I… read more >>

# TIMEIT Benchmarking Function

Posted by Robert Bemis,

You may have noticed some recent changes in the format of this blog. Here’s what to expect on a regular basis – two topics per week.   On Tuesdays Doug will provide MATLAB tutorials. On Fridays guest bloggers Jiro, Brett and Bob will highlight File Exchange submissions. Bob's pick this week is timeit by Steve... read more >>

# MATLAB Puzzler: Removing columns and rows from binary matrices36

Posted by Doug Hull,

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 how much code it took me to solve it. This is not a contest,… read more >>

# Drawing a Circle14

Posted by Brett Shoelson,

You may have noticed some recent changes in the format of this blog. Here’s what to expect on a regular basis – two topics per week.   On Tuesdays Doug will provide MATLAB tutorials. On Fridays guest bloggers Jiro, Brett and Bob will highlight File Exchange submissions. In last week's Pick of the Week, I... read more >>

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

Posted by Doug Hull,

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 what size edge is needed set the grid spacing such that the right… read more >>

# Fitting a Circle, easily.19

Posted by Brett Shoelson,

You may have noticed some recent changes in the format of this blog. Here’s what to expect on a regular basis – two topics per week.   On Tuesdays Doug will provide MATLAB tutorials. On Fridays guest bloggers Jiro, Brett and Bob will highlight File Exchange submissions. A file need not be long to be... read more >>

# Practical Example: Placing a sampling grid in a polygon4

Posted by Doug Hull,

A while back, I posted a video about how to place points randomly inside of an arbitrary polygon. [Click here] This video prompted a question about how to place points in a more systematic manner. If you are only allowed to change the edge length of an equilateral triangular grid,… read more >>

# X Steam, Thermodynamic properties of water and steam4

Posted by Robert Bemis,

You may have noticed some recent changes in the format of this blog. Here’s what to expect on a regular basis – two topics per week.   On Tuesdays Doug will provide MATLAB tutorials. On Fridays guest bloggers Jiro, Brett and Bob will highlight File Exchange submissions. Bob's pick this week is X Steam, Thermodynamic... read more >>