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 Problem 42915. How Far Can You Throw Something? to Community

on 25 Jul 2016 at 18:42

James submitted Solution 926471 to Problem 42914. Counting the Grand Primes

on 22 Jul 2016 at 19:19

James submitted Solution 926470 to Problem 42914. Counting the Grand Primes

on 22 Jul 2016 at 19:19

James submitted a Comment to Solution 925109

Today's Cody Tip of the Day: Make sure you paste your solution into the text box BEFORE you hit submit.

on 19 Jul 2016 at 13:54

James submitted Solution 924685 to Problem 42893. Look Up Mapping

on 18 Jul 2016 at 16:58

James submitted Solution 920525 to Problem 42901. Free-time Equation

on 8 Jul 2016 at 14:20

James submitted Solution 918803 to Problem 42894. Find longest run

on 5 Jul 2016 at 15:25

James submitted Solution 918793 to Problem 42901. Free-time Equation

on 5 Jul 2016 at 14:37

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

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

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