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/

182Rank

8Badges

1405Score

Ned Gulley submitted a Comment to Problem 2589. Find Elements in Range

I love the fact that you based this on a question from Answers! I kind of wanted to link back to it, but I can see that you might not want people to see your answer.

2 hours and 56 minutes ago

Ned Gulley submitted Problem 2565. Determine the Result of a Move in Reversi to Community

on 9 Sep 2014 at 16:36

Ned Gulley submitted a Comment to Problem 2350. What is Sum Of all elements of Matrix

Thanks for the suggestions. I fixed with isequalwithequalnans.

on 9 Sep 2014 at 14:36

Ned Gulley submitted a Comment to Problem 2551. Rounding

Hi Marisa: Thanks for contributing some problems to Cody! I want to encourage you to make your problems more general so that there's more than just one input and out output. Maybe you could make this problem into something more like this: "Round the given number to the nearest integer." Then pass in several numbers, not just one.

on 4 Sep 2014 at 21:01

Ned Gulley submitted a Comment to Problem 2544. Determine if given number is perfect

I added some more tests.

on 4 Sep 2014 at 20:49

Ned Gulley submitted a Comment to Solution 434015

See Note 2 in the problem description.

on 3 Sep 2014 at 16:51

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