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

James submitted Solution 908094 to Problem 42892. Transpose of matrix

on 14 Jun 2016 at 13:40

James submitted Solution 908093 to Problem 42892. Transpose of matrix

on 14 Jun 2016 at 13:38

James submitted Solution 903106 to Problem 42876. Rotate Matrix @180 degree

on 6 Jun 2016 at 11:45

James submitted a Comment to Solution 901588

Should not need the '=' in the 'if j<=t' statement to get the "correct" answer, but that makes the code match the solution in the test suite.

on 3 Jun 2016 at 18:54

James submitted Solution 901588 to Problem 42875. Assignment Problem

on 3 Jun 2016 at 18:51

James submitted a Comment to Problem 42875. Assignment Problem

You're correct, Jan. Both options give you a minimum time of 10.

on 3 Jun 2016 at 18:41

James submitted Solution 900813 to Problem 42865. Find the sum of n squares

on 2 Jun 2016 at 19:16

James submitted Solution 900810 to Problem 42865. Find the sum of n squares

on 2 Jun 2016 at 19:14

James submitted Solution 900808 to Problem 42865. Find the sum of n squares

on 2 Jun 2016 at 19:14

James submitted Solution 900699 to Problem 42865. Find the sum of n squares

on 2 Jun 2016 at 16:52

James submitted Solution 900698 to Problem 42865. Find the sum of n squares

on 2 Jun 2016 at 16:52

James submitted Solution 898840 to Problem 42862. Values in Array

on 31 May 2016 at 13:19

James submitted Solution 898839 to Problem 42862. Values in Array

on 31 May 2016 at 13:19

James submitted Solution 896035 to Problem 2650. Kurchan 4x4 - Optimal score

on 26 May 2016 at 19:13

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