Community Profile

# Doug Hull

21 total contributions since 2011

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.

View all

Contributions in
View by

How do I comment out a large block of code in MATLAB?
To comment out a large block of code in the Editor or Live Editor, select the code and on the "Editor" or "Live Editor" tab, cli...

environ un an ago | 34

| accepted

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

plus de 2 ans ago | 3

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

plus de 2 ans ago | 0

Submitted

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

Submitted

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

Submitted

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

Submitted

Video: GUIDE Basics Tutorial
Five minute video about building GUIs in MATLAB.

Submitted

Mars Rover Landing Animation
Animation of Mars Rover

Submitted

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

Submitted

Three-dimensional reconstruction from planar slices.
Solid object reconstructed from slice images in parallel planes.

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'); ...

plus de 4 ans ago | 0

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

presque 5 ans 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 ...

environ 5 ans 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">

environ 5 ans ago | 0

| accepted

legend entry callbacks in 2014b

environ 5 ans 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...

environ 5 ans ago | 0

Create part of Handles variable

environ 5 ans 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...

environ 5 ans 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...

environ 5 ans 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...

environ 5 ans ago | 1

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

environ 5 ans ago | 0

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

environ 5 ans ago | 0

axis in a semilogx

environ 5 ans ago | 0

| accepted

Cannot set the tick mark direction as default
From our development staff: set(groot, 'defaultAxesTickDir', 'out'); set(groot, 'defaultAxesTickDirMode', 'manual'); ...

environ 5 ans 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...

environ 5 ans 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 ...

environ 5 ans 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...

environ 5 ans ago | 0