# Doug Hull

Formerly known as MATLABDoug during my 15 year tenure at MathWorks. Now I live in Vegas, write poker books and relieve tourists of their poker money.

**Statistics**

RANK**97**

of 239 333

REPUTATION**998**

CONTRIBUTIONS

**29** Questions

**287** Answers

ANSWER ACCEPTANCE **
82.76%
**

VOTES RECEIVED**380**

RANK**47** of 16 805

REPUTATION**14 829**

AVERAGE RATING**4.50**

CONTRIBUTIONS**7** Files

DOWNLOADS **44**

ALL TIME DOWNLOADS**145288**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Problem

Is this a valid Tic Tac Toe State?

For the game of <https://en.wikipedia.org/wiki/Tic-tac-toe Tic Tac Toe> we will be storing the state of the game in a matrix M. ...

nästan 4 år ago | 4 | 105 solvers

Problem

Is this is a Tic Tac Toe X Win?

For the game of <https://en.wikipedia.org/wiki/Tic-tac-toe Tic Tac Toe> we will be storing the state of the game in a matrix M. ...

nästan 4 år ago | 2 | 464 solvers

Submitted

Puzzler: Supporting files

Supporting files for a July 2009 puzzler from http://blog.mathworks.com/videos

nästan 5 år ago | 1 download |

Submitted

MakeColorMap

Makes colormaps that smoothly blend from one color to another to optionally a third.

nästan 5 år ago | 8 downloads |

Submitted

Video: GUIDE Advanced Techniques

Advanced techniques in GUI building with GUIDE. Techniques include: multi-window GUIs, application.

nästan 5 år ago | 10 downloads |

Submitted

Video: GUIDE Basics Tutorial

Five minute video about building GUIs in MATLAB.

nästan 5 år ago | 6 downloads |

Submitted

ZoomBox

Movable, stretchable zoom box in parent axes controls axes limits in all children axes.

nästan 5 år ago | 3 downloads |

Submitted

Three-dimensional reconstruction from planar slices.

Solid object reconstructed from slice images in parallel planes.

nästan 5 år ago | 4 downloads |

I have plotted two equations. How to get their intersection point?.......Thanks

The cheap way to do this is to plot both and zoom in. ezplot('(x-5)^2+(y-3)^2=4'); hold on ezplot('y-x^2+2.5*x=0'); ...

nästan 6 år ago | 0

Integrating C++ into MATLAB

<http://www.mathworks.com/help/matlab/ref/mex.html MEX examples from the MATLAB documentation>

mer än 6 år ago | 4

Using the legend in a plot leads to errors in displaying them

I think something is amiss on your path. I suspect Legend has been overwritten by a different function that is for some reason ...

mer än 6 år ago | 0

| accepted

Alternative to contour plot: pixel plot?

This looks like it can be done with the command <http://www.mathworks.com/help/matlab/ref/image.html "Image">

mer än 6 år ago | 0

| accepted

legend entry callbacks in 2014b

Short answer: No. http://www.mathworks.com/help/matlab/graphics_transition/why-are-colorbars-and-legends-not-valid-axes-handl...

mer än 6 år ago | 0

Legend line spacing in R2014b

Here are a variety of changes to legend: http://www.mathworks.com/help/matlab/graphics_transition/why-are-colorbars-and-lege...

mer än 6 år ago | 0

Create part of Handles variable

Please don't do this: See this FAQ. http://www.mathworks.com/matlabcentral/answers/143-how-do-i-make-a-series-of-variables...

mer än 6 år ago | 0

| accepted

Problem Running any GUI

In the third way, you shoulr right click to "open in GUIDE" or run the .M file. The .Fig files of a GUIDE file are not really m...

mer än 6 år ago | 0

Annoying behavior saving eps figures in MATLAB 2014

Please send the specifics of your case, code and old and new outputs, to www.mathworks.com/support Without more details, it i...

mer än 6 år ago | 0

barh with colored bars: differences between 2012b and 2014b

The Bar properties of Children is no longer available. This is along the lines of what you want to accomplish: bar([1 na...

mer än 6 år ago | 1

| accepted

help I need matlab code for build avector, initially this vector don't have any value but I have a loop do something and in every run this value save a value with different length according to value that a loop represent

v = [] for i = 1:4 v(end+1) = i*11 end

mer än 6 år ago | 0

| accepted

2014b axis label errors when printing to postscript

This is under investigation by our developers. We have found there is a gap, the size of which is dependent on the length of ...

mer än 6 år ago | 0

Stacking order of figures

Maybe I am misunderstanding the question: close all for ni = 1:3 figure plot(rand(7)) drawnow en...

mer än 6 år ago | 0

axis in a semilogx

Just add xlim([1 128000]) <</matlabcentral/answers/uploaded_files/21263/loggy.jpg>>

mer än 6 år ago | 0

| accepted

Cannot set the tick mark direction as default

From our development staff: set(groot, 'defaultAxesTickDir', 'out'); set(groot, 'defaultAxesTickDirMode', 'manual'); ...

mer än 6 år ago | 1

| accepted

Patch performance with caxis?

Mike Garrity showed me this example earlier with respect to patch: >> 2.4814 frames per second >> 20.6223 frames per secon...

mer än 6 år ago | 1

| accepted

point of intersection of a circle and binary image

I have an ugly solution that might be what you want: * run EDGE on the binary image. You now have a binary image with the ...

mer än 6 år ago | 0

how do i assign a color to the same type of shape

If you make this a binary image, you can run it through regionprops. There are a variety of metrics in there that should be use...

mer än 6 år ago | 0

How do I prevent LineWidth property from affecting line start and end point on plot?

There is not currently a way to turn of the endcaps on the lines. Maybe you could use less wide lines, or put markers over th...

mer än 6 år ago | 0

Problem with 'Patch' graphics in 2014b - Splits in two along diagonal

The file we are creating in MATLAB is correct and what you are seeing is a bug in Adobe Reader, refer to Stata’s description of ...

mer än 6 år ago | 1

R2014b problem exporting EPS

Thank you for your patience. We have published an article about this. http://www.mathworks.com/matlabcentral/answers/162283-...

mer än 6 år ago | 0

| accepted