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

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/

234Rank

9Badges

1655Score

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

Ned Gulley submitted a Comment to Problem 317. Find the stride of the longest skip sequence

I added another test and rescored. It appears that DIST no longer works. The DIST function is from the Neural Networks Toolbox. It shouldn't have worked in the past, but since it did, it played a part in a lot of answers. Sorry for the discontinuity.

on 13 Feb 2014

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

Aryaa: Your solution looks good. The problem is that combnk is in the Statistics Toolbox, and Cody is designed to use only functions from basic MATLAB.

on 3 Feb 2014

Ned Gulley submitted a Comment to Problem 2118. Test of Quiz

Hi Petr:
Keep in mind that your test suite isn't hidden in Cody. For that reason, Cody isn't the best place to ask questions that have a single correct answer (i.e. the answer doesn't change depending on novel inputs).

on 15 Jan 2014