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 2938. How long does it take to run a bath?

Fixed the test suite.

on 18 Feb 2015

Ned Gulley submitted a Comment to Problem 3017. Baseball Pitch Question

Fixed the first test and added a second one.

on 18 Feb 2015

Ned Gulley submitted a Comment to Problem 2883. prime test

Hi Ritwik: Cody is most interesting when you can give a problem where the answer changes with the input. Can you rework this so that one single number doesn't answer the problem?

on 28 Jan 2015

Ned Gulley submitted a Comment to Solution 63821

This code is referenced in the following blog post: http://blogs.mathworks.com/community/2015/01/19/robot-game-playing-in-matlab-part-2/

on 20 Jan 2015

Ned Gulley submitted a Comment to Solution 495060

on 20 Jan 2015

Ned Gulley submitted a Comment to Solution 498034

on 20 Jan 2015

Ned Gulley submitted a Comment to Solution 2314

on 20 Jan 2015

Ned Gulley submitted a Comment to Problem 512. Spot the rectangle

I added a rectangular (non-square) test case. Thanks for the note.

on 14 Jan 2015

Ned Gulley submitted a Comment to Problem 722. Make a run-length companion vector

Hi Wenwu: Could you be more specific about what you think the problem is?

on 6 Jan 2015

Ned Gulley submitted Problem 2700. Simulate one complete step in the Biham–Middleton–Levine traffic model to Community

on 2 Dec 2014

Ned Gulley submitted a Comment to Problem 2692. design a magic matrix without using the command magic.

Hi Anumpam: Thanks for the problem. You need to fix the test suite as James says. Also, since you haven't specified what order you want the numbers in, you should probably check to make sure the matrix has magic properties (rows add to the same number, etc.) rather than testing that it matches exactly one matrix. There are lots of magic 4-by-4 matrices.

on 26 Nov 2014

Ned Gulley liked Problem 2646. Determine the number of maximal cliques in an undirected graph

on 29 Oct 2014

Ned Gulley submitted Solution 516274 to Problem 2639. How Many Months Until It's Today Again?

on 23 Oct 2014

Ned Gulley submitted Problem 2639. How Many Months Until It's Today Again? to Community

on 22 Oct 2014

Ned Gulley submitted Solution 514137 to Problem 2627. Convert to Binary Coded Decimal

on 17 Oct 2014

Ned Gulley submitted a Comment to Problem 2573. Flipping

I fixed the test and added a few tests.

on 8 Oct 2014

Ned Gulley submitted a Comment to Problem 2620. Determine the Anti-diagonal of a Magic Square

I fixed the tests.

on 7 Oct 2014

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.

on 16 Sep 2014

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

on 9 Sep 2014

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

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

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

I added some more tests.

on 4 Sep 2014

Ned Gulley submitted a Comment to Solution 434015

See Note 2 in the problem description.

on 3 Sep 2014

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