Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Ned Gulley

View profile information

Company/University

MathWorks

Personal Profile

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

187Rank
8Badges
1465Score

Ned Gulley submitted a Comment to Solution 540224

Done. Thanks for the comment!

on 4 Dec 2014 at 15:58

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 at 14:52

Ned Gulley liked Solution 512531

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 liked Solution 400393

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 liked Problem 2562. Juggling

on 8 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 liked Solution 481261

on 1 Aug 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 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 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 liked Solution 451070

on 9 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 liked Solution 445258

on 23 May 2014