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

Learn moreOpportunities for recent engineering grads.

Apply TodayView profile information

Company/University

MathWorks

Personal Profile

I work on the MATLAB Central and MATLAB Interface teams. See also http://www.starchamber.com/

187Rank

8Badges

1465Score

Ned Gulley submitted a Comment to Solution 273246

@Disha: see http://en.wikipedia.org/wiki/42_(number)#The_Hitchhiker.27s_Guide_to_the_Galaxy

on 8 Jul 2013

Ned Gulley submitted a Comment to Problem 1686. Generate a melodic contour string matrix

Amazing how hard it is to get your test suite right on the first try. Thanks, and it looks like you're in the lead!

on 28 Jun 2013

Ned Gulley submitted Problem 1686. Generate a melodic contour string matrix to Community

on 28 Jun 2013

Ned Gulley submitted a Comment to Problem 1674. How many jokers?

Hi Amitava:
Could you provide an example in your problem statement? Also, as Evan says below, you should have more than one test case or it becomes a trivial matter to hard-code a particular answer.

on 24 Jun 2013

Ned Gulley submitted a Comment to Problem 162. High school cafeteria

I had assumed that "in order" meant "in the order provided". If that were the case, then [5 1 3 2 4] would return [5 3 2 1 4]. Maybe you could say you want them sorted rather than in order.

on 20 Jun 2013

Ned Gulley submitted a Comment to Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN

Fixed the wording to reflect this. Thanks for the comments.

on 20 Jun 2013

Ned Gulley submitted Solution 264031 to Problem 1534. Sort (high on middle, low on ends)

on 19 Jun 2013

Ned Gulley submitted a Comment to Problem 1519. Identify Sequence in two arrays

John, you put in a lot of effort here and I'd like to see this work. But as it is, the test suite doesn't actually test anything. I don't understand the problem sufficiently to fix it myself.

on 19 Jun 2013

Ned Gulley submitted Solution 261613 to Problem 1634. Kurchan Square - Evaluation Function

on 14 Jun 2013

Ned Gulley submitted Solution 261606 to Problem 1634. Kurchan Square - Evaluation Function

on 14 Jun 2013

Ned Gulley submitted a Comment to Problem 1589. calculate linear convolution two vectors

I fixed the test suite so the number of parameters is correct.

on 11 Jun 2013

Ned Gulley submitted a Comment to Problem 1534. Sort (high on middle, low on ends)

Hi Franek:
Thanks for creating a problem! It's a little ambiguous right now (see @andrea84's comment above). There is more than one answer as currently defined. Could you please clarify it?

on 3 Jun 2013

Ned Gulley submitted a Comment to Problem 1531. The rabbit problem

Hi Hussam. Thanks for the problem. The Fibonacci sequence can start different ways. Can you provide a specific example or two so there's no ambiguity?

on 30 May 2013

Ned Gulley submitted a Comment to Solution 250525

I'm not sure how you reach that conclusion. The example given says fib(5) should be 5. Your code returns 15.

on 29 May 2013

Ned Gulley submitted a Comment to Solution 250534

The error for Test 1 says "Output argument 'output' (and maybe others) not assigned". Close examination of your code reveals that when x is 1 and y is 2, you go down the first switch of the outer "if" statement, and sure enough, output never gets assigned and the function fails.

on 29 May 2013

Ned Gulley submitted a Comment to Problem 460. Replace May with April

I went ahead and added some more tests.

on 28 May 2013

Ned Gulley submitted a Comment to Problem 1515. Procrustean bed

I love vector problems with classically-inspired titles! Good old Procrustes...

on 21 May 2013

Ned Gulley submitted a Comment to Problem 1488. Generate binary combinations for a given number of bit(s)

I cleaned up the problem statement and fixed the first test.

on 6 May 2013

Ned Gulley submitted a Comment to Problem 1451. Symmetry of vector

I updated test case #3.

on 2 May 2013

Ned Gulley submitted a Comment to Problem 1448. Create Volcano (or Atoll) martix. It is an extension of Bullseye matrix problem.

You should call this a volcano matrix!

on 24 Apr 2013

Ned Gulley submitted a Comment to Problem 1451. Symmetry of vector

I fixed the wording.

on 24 Apr 2013

Ned Gulley submitted a Comment to Problem 1384. Who invented zero?

Hi Harish:
Keep in mind that fill-in-the-blank style questions aren't a great match for Cody since competitors can always inspect the test suite.

on 26 Mar 2013

Ned Gulley submitted a Comment to Problem 1378. Young's modulus

I went ahead and fixed the function calls in the test suite.

on 25 Mar 2013

Ned Gulley liked Problem 1376. Find names/words that start and end with the same letter.

on 25 Mar 2013

Ned Gulley submitted a Comment to Problem 45. Make a Palindrome Number

That function is in the Bioinformatics Toolbox (http://www.mathworks.com/help/bioinfo/ref/seqreverse.html). Cody permits only MATLAB functions.

on 21 Mar 2013

Ned Gulley submitted a Comment to Problem 1371. Altitude of locations on the earth

Dan, could you provide some more specifics here? Altitude in meters, feet, or furlongs? Against what reference? Number of significant digits you expect? Latitude and longitude are in decimal degrees? An example would also help.

on 21 Mar 2013

Ned Gulley submitted a Comment to Solution 217288

dec2bin returns a string. This problem is looking for numbers.

on 15 Mar 2013

Ned Gulley submitted a Comment to Problem 55. Counting Sequence

My mistake guys. Sorry about that. By the way, these comments are very helpful for adding (and fixing) bad test cases. Thanks for taking the time to comment.

on 14 Mar 2013