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

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

View profile information

Company/University

MathWorks

Personal Profile

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

201Rank

8Badges

1495Score

Ned Gulley submitted a Comment to Problem 8044. Potential Energy

Juan, could you provide a little more information in the problem statement? What are the inputs? In what units? On what planet?

on 30 Mar 2015 at 16:20

Ned Gulley submitted a Comment to Problem 3076. Create a vector

I changed the problem slightly and added some more test cases.

on 11 Mar 2015 at 18:05

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