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
22020Score

James submitted Solution 888937 to Problem 42801. means

on 11 May 2016

James submitted a Comment to Solution 888197

I forgot Cody does not use the statistics toolbox, so harmmean is unusable.

on 10 May 2016

James submitted a Comment to Solution 887902

I fully expected this one to time out. Lower Cody score doesn't always mean better code...

on 9 May 2016

James submitted a Comment to Solution 886998

Using without the "round" fudge on the polyfit function should work, but gives errors on the order of 1e-14. Round only works because all the coefficients in your test suite are integers.

on 6 May 2016

James submitted Solution 883741 to Problem 42819. attenuation

on 28 Apr 2016

James submitted Solution 883740 to Problem 42819. attenuation

on 28 Apr 2016

James submitted a Comment to Problem 42832. Segmented number sequence

In test case 2, if x=0, should the sequence be 1:22 or completely empty?

on 26 Apr 2016

James submitted a Comment to Solution 882238

Heh...a 24 point increase in Cody Size is what I get for doing the loops efficiently. :-)

on 26 Apr 2016

James submitted a Comment to Solution 877731

Best approximation of e, according to the rat function.

on 19 Apr 2016

James submitted Solution 877731 to Problem 42807. Approximate e

on 19 Apr 2016

James submitted Solution 877729 to Problem 42807. Approximate e

on 19 Apr 2016

James submitted a Comment to Solution 876277

Trivial... :-)

on 19 Apr 2016

James submitted Solution 877712 to Problem 42807. Approximate e

on 19 Apr 2016

James submitted Solution 877708 to Problem 42807. Approximate e

on 19 Apr 2016

James submitted a Comment to Problem 42802. Rolling maximums above a threshold

Good news - Yay! There *is* a single function for it. Bad news - It was introduced in 2014b, and my newest version is 2007b.

on 15 Apr 2016