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/

183Rank

8Badges

1390Score

Ned Gulley submitted Problem 2538. Find the Next Legal Move in Reversi to Community

on 28 Aug 2014 at 15:52

Ned Gulley submitted a Comment to Problem 2472. Matrix Generation.

Hi Pruthvi: Thanks for submitting this problem. You're going to need to provide more information than this in order for people to solve this problem. You give no indication of what happens as n gets larger. In general, you don't want people to have to inspect your test suite just to figure out what's going on.

on 31 Jul 2014

Ned Gulley submitted a Comment to Problem 2453. Product of elements in row

I made a few changes so it has proper tests.

on 21 Jul 2014

Ned Gulley liked Problem 2440. Text processing - Help Johnny write a letter home from camp

on 16 Jul 2014

Ned Gulley submitted a Comment to Problem 2403. Best Square-Shaped Grid for Subplot

Hi Omer: It sounds to me like m should always equal n if we want the result to be square-shaped. Can you explain when it's okay for m ~= n?

on 7 Jul 2014

Ned Gulley submitted a Comment to Problem 2395. Simple Past of Regular Verbs

I like it! Now let's see some German and French...

on 3 Jul 2014

Ned Gulley submitted a Comment to Problem 2377. Area of a disk

Good advice! Floating point math and isequal don't mix well.

on 19 Jun 2014

Ned Gulley submitted a Comment to Problem 2365. Generate this matrix

A good history lesson!

on 18 Jun 2014

Ned Gulley submitted a Comment to Problem 2364. Convert a vector into numbers

I added some extra tests.

on 17 Jun 2014

Ned Gulley submitted Solution 454265 to Problem 2357. Sort the vector with the given index

on 12 Jun 2014

Ned Gulley submitted a Comment to Problem 2357. Sort the vector with the given index

I added two inputs (x,t) to the test suite.

on 12 Jun 2014

Ned Gulley submitted a Comment to Problem 2351. Replace Nonzero Numbers with 1

I updated the second test with isequaln so that NaN == NaN is true.

on 6 Jun 2014

Ned Gulley submitted a Comment to Solution 445258

I appreciate how you keep at it even after you found the calendar function! I confess I never knew about calendar.m until today!

on 23 May 2014

Ned Gulley submitted a Comment to Problem 2315. Reverse the input

I fixed the test cases.

on 12 May 2014

Ned Gulley submitted a Comment to Solution 440185

urlfilter is also available here: http://www.mathworks.com/matlabcentral/fileexchange/44751-url-filter

on 9 May 2014

Ned Gulley submitted a Comment to Problem 2305. Reverse Concatenation

I added two simple tests.

on 5 May 2014

Ned Gulley submitted a Comment to Problem 2284. Find the area of the four walls

Fixed it.

on 14 Apr 2014

Ned Gulley submitted Solution 429274 to Problem 2274. Find the square of the sum of the digits of a number

on 9 Apr 2014

Ned Gulley submitted a Comment to Problem 2269. Create the following sequence : 0 1 1 4 9 25 64 169 ...

I cleaned things up a little.

on 8 Apr 2014

Ned Gulley submitted a Comment to Problem 660. Find a subset that divides the vector into equal halves

Hassan, where are you getting an internal server error? Maybe leave your comment on the solution that has the related error? I'm guessing that your solution relies on randomness, so if you don't get lucky, the answer will time out. You may get lucky on your computer, but not on the Cody server.

on 8 Apr 2014

Ned Gulley submitted a Comment to Problem 2268. Given a number between 1-365 (a day number in a non leap year) , find what day of what month it is.

Hi Hassan: Thanks for the problem! You might want to be clear that this is for (I assume) a non leap year.

on 7 Apr 2014

Ned Gulley submitted a Comment to Problem 2265. 2048 Next Move

Good point! That complicates things nicely. I added a new example and corresponding test case that reflects my understanding of the 2048 rules.

on 4 Apr 2014

Ned Gulley submitted a Comment to Problem 2265. 2048 Next Move

Nick Howe says he's done it, and now he's working on 8192.

on 2 Apr 2014

Ned Gulley submitted a Comment to Problem 2259. Best Fit RMS

Nice problem Swapnali! Since it has a floating-point answer, you should specify how many significant digits you're looking for, or include a tolerance term in your test suite.

on 31 Mar 2014

Ned Gulley submitted a Comment to Problem 1720. Do the lines intersect?

Hi Celestino. I added a little bit more clarifying text to the problem statement. That's an interesting test case, but not one I will use for this problem. You could make your own extension to this problem, though!

on 12 Mar 2014

Ned Gulley submitted a Comment to Problem 2215. Power supply: 230V to 115V

J-G, thanks for the problem. Could you add some more information about expected inputs and outputs? An example and some more tests would be helpful too. If your test suite has exactly one test, it's trivial to write a correct answer.

on 25 Feb 2014