Cody

James

5
Rank
16
Badges
22530
Score

Activities

101 – 150 of 3,064

James submitted Solution 895407 to Problem 42856. Block average

on 25 May 2016

James submitted a Comment to Solution 891610

I had to put in a %% in the first line of the test suite to get everything working. I also added in a tolerance of 1e-10 on all of the test suites, rather than just ones with non-integer values, for those of you who were smart enough to use the filter command. Great detective work, Peng and Jan!

on 25 May 2016

James submitted a Comment to Solution 891610

I went in to edit the test suite, and there are no percent signs at the start of the first test suite. When I look in the "Solve This Now!" section, there is. That's strange. I'll add in the new line, rescore, and see how that works.

on 25 May 2016

James submitted a Comment to Solution 894741

*facepalm* Thank you. I feel like quite the idiot right now for not noticing that error.

on 25 May 2016

James submitted Solution 895253 to Problem 42856. Block average

on 25 May 2016

James submitted a Comment to Solution 891610

The "line 3" in the error message is actually line 3 in the test suite, rather than the line in your code. I just got a similar error on another Cody problem. "Error using VisibleTest1 (line 4)"

on 24 May 2016

James submitted a Comment to Problem 42856. Block average

It's related to that problem in another way. I'm getting a similar error to Zikobrelli did: "Error using VisibleTest1 (line 4)"

on 24 May 2016

James submitted Solution 891907 to Problem 42849. RGB to CMYK

on 19 May 2016

James submitted Solution 891905 to Problem 42849. RGB to CMYK

on 19 May 2016

James submitted Solution 891904 to Problem 42849. RGB to CMYK

on 19 May 2016

James submitted a Comment to Solution 891610

It's not just you. I just tried submitting this solution, and got the same error. Since your line 3 is blank, it probably has something to do with the Cody side of things...

on 19 May 2016

James submitted a Comment to Solution 891015

I am extremely envious that you have R2016a, Binbin.

on 18 May 2016

James submitted Problem 42854. Crunch that matrix! to Community

on 17 May 2016

James submitted Solution 889063 to Problem 42848. Lambert's W

on 11 May 2016

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

101 – 150 of 3,064