MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply TodayView profile information

Company/University

The MathWorks

Personal Profile

http://blogs.mathworks.com/videos/

MATLAB user since 1994. MathWorker since 2001. Author of one MATLAB textbook, co-author of a second, contributor to a third.

Now I blog and make movies about the cases that come to me for advanced support.

Poker stuff:

http://www.ThreeBarrelBluff.com

http://FreerollMedia.com

http://RedChipPoker.com

172Rank

8Badges

1515Score

Doug Hull submitted Problem 1889. Get ranking of a combination looking for speed. to Community

on 24 Sep 2013

Doug Hull submitted a Comment to Problem 753. Solitaire Cipher

Made a quick change. This should cause a lot of old solutions to fail. Will process the queue as fast as possible! Thanks!

on 11 Apr 2013

Doug Hull submitted a Comment to Problem 753. Solitaire Cipher

Yaroslav,
I agree entirely. Unfortunately, every time on other problems that I changed the test suite, the look up tables just came back anyways. We need to eventually randomize test suites. When that is supported well, I will do it!
Doug

on 11 Apr 2013

Doug Hull submitted Solution 214653 to Problem 6. Select every other element of a vector

on 8 Mar 2013

Doug Hull submitted a Comment to Solution 133608

Added new test, should be re scored soon. Thank you!

on 26 Dec 2012

Doug Hull submitted a Comment to Problem 621. Cryptomath: Addition

Note in the instructions: "No left hand zeros"

on 22 Oct 2012

Doug Hull submitted a Comment to Problem 621. Cryptomath: Addition

Suresh, Which test case? Please be more explicit. These were all taken from a list of known problems, so I need more info to understand if one is flawed.

on 18 Oct 2012

Doug Hull submitted a Comment to Solution 120005

William, Why are for loops not cool?

on 26 Sep 2012

Doug Hull submitted a Comment to Problem 534. Find best domino orientation

For which test statement is there not a unique solution? We need to fix the test suite if there are two answers of same score.

on 7 Aug 2012

Doug Hull submitted a Comment to Problem 329. Poker Series 01: isStraightFlush

@Jean,
Huh? Is that a suggestion to add a test?

on 6 Aug 2012

Doug Hull submitted a Comment to Problem 250. Project Euler: Problem 10, Sum of Primes

@Lin,
I think it is timing out. Why are you making your own tests anyways?

on 6 Aug 2012

Doug Hull submitted a Comment to Problem 753. Solitaire Cipher

Any problem will work not just ones in this category.

on 23 Jul 2012

Doug Hull submitted a Comment to Problem 753. Solitaire Cipher

Richard,
Being Wikipedia, I just copied the algorithm this test suite was built on. Thanks!
Doug

on 18 Jun 2012

Doug Hull submitted Problem 766. Implement Solitaire cipher for N long deck. to Community

on 14 Jun 2012

Doug Hull submitted a Comment to Problem 753. Solitaire Cipher

Richard,
I see the difference in our code:
if j2==27
d=[28 d(2:26) d(28) d(1)];
end
proper implementation would be:
if j2 == 27
d = [d(1) 28 d(2:26) d(28)];
end
Basically, it has to skip two cards down the deck. I will clean up the wording, as I have seen several do this on internal implementations here too.
Thanks,
Doug

on 14 Jun 2012

Doug Hull submitted a Comment to Problem 731. Given a window, how many subsets of a vector sum positive

Oops. Fixed. thank you.

on 11 Jun 2012

Doug Hull submitted Problem 729. Flag largest magnitude swings as they occur to ASEE Challenge

on 8 Jun 2012

Doug Hull submitted Problem 730. How many trades represent all the profit? to ASEE Challenge

on 8 Jun 2012

Doug Hull submitted Problem 731. Given a window, how many subsets of a vector sum positive to ASEE Challenge

on 8 Jun 2012

Doug Hull submitted a Comment to Solution 85685

I should have known! :) Next problem is, how many times can you expect to submit that solution! :)

on 8 May 2012

Doug Hull submitted Problem 653. Steal, Share, or Catch: Tournament of Champions to Community

on 3 May 2012

Doug Hull submitted Solution 84690 to Problem 158. Is my wife right? Now with even more wrong husband

on 2 May 2012

Doug Hull submitted Solution 84383 to Problem 649. Return the first and last character of a string

on 1 May 2012

Doug Hull submitted Problem 648. Cumulative probability of finding an unlikely combination to Community

on 1 May 2012

Doug Hull submitted Problem 647. Getting the absolute index from a matrix to Community

on 1 May 2012

Doug Hull submitted Problem 646. Getting the row and column location from a matrix to Community

on 1 May 2012

Doug Hull submitted Problem 639. String substitution, sub problem to cryptoMath to Community

on 30 Apr 2012