Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!
5Rank
16Badges
21195Score

James submitted Solution 820325 to Problem 2318. Combine Cards to make 21

on 4 Feb 2016 at 18:51

James submitted Solution 820194 to Problem 115. Distance walked 1D

on 4 Feb 2016 at 16:55

James submitted Solution 802462 to Problem 42706. Step up

on 7 Jan 2016

James submitted a Comment to Solution 801002

Until the test suite is changed, yes. Yes you can.

on 5 Jan 2016

James submitted a Comment to Problem 42698. Why the heck are they blinking!?!?

I wasn't really sure how to model the z-coordinate as a function of height. I had a hunch it would be the case, but I couldn't actually figure out how to do it. Thanks to the smart people in the thread for coming up with the equations for it!

on 4 Jan 2016

James submitted a Comment to Problem 42698. Why the heck are they blinking!?!?

Tim, does the fact that the spiral is also travelling in the Z-direction change the length? Is there a distortion due to the 3-D nature of the spiral? I honestly don't know, which is why I added the helpful hint; in case someone could answer that, did the full 3-D calculation, and came up with a more correct answer. If the length of the 2-D spiral is equal to the 3-D one, then your equation is correct; that's actually how I calculated it originally before realizing that I could just use the base of the tree as a variable instead of both the height and base. Does anyone who can actually do this sort of calculation want to chime in here?

on 31 Dec 2015

James submitted a Comment to Problem 42698. Why the heck are they blinking!?!?

Peng, you're correct. I'll blame that oversight on a bit too much Egg Nog, and change the problem description.

on 30 Dec 2015

James submitted Solution 799101 to Problem 42697. sparse_matrix

on 29 Dec 2015

James submitted Solution 794320 to Problem 2265. 2048 Next Move

on 15 Dec 2015

James submitted a Comment to Problem 1742. Generate a Parasitic Number

Chris, you are correct. The definition of a parasitic number does state "No Leading Zeros." That's why I explicitly stated that some of these values would have a leading zero, and when they would occur. While these numbers are technically not parasitic, the method for generating them is the same.

on 23 Nov 2015

James submitted Solution 765613 to Problem 42648. Place numbers

on 21 Oct 2015

James submitted Solution 765546 to Problem 42665. sort matrix

on 21 Oct 2015

James submitted Solution 755505 to Problem 42646. Matrix FUN

on 7 Oct 2015