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

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

1007Rank

3Badges

440Score

Kees Roos submitted Solution 76903 to Problem 230. Project Euler: Problem 1, Multiples of 3 and 5

on 16 Apr 2012

Kees Roos submitted Solution 76889 to Problem 230. Project Euler: Problem 1, Multiples of 3 and 5

on 16 Apr 2012

Kees Roos submitted Solution 76887 to Problem 230. Project Euler: Problem 1, Multiples of 3 and 5

on 16 Apr 2012

Kees Roos submitted Solution 76881 to Problem 230. Project Euler: Problem 1, Multiples of 3 and 5

on 16 Apr 2012

Kees Roos submitted Solution 76729 to Problem 247. Arrange Vector in descending order

on 15 Apr 2012

Kees Roos submitted Solution 76724 to Problem 39. Which values occur exactly three times?

on 15 Apr 2012

Kees Roos submitted a Comment to Solution 76592

Thanks for your reply. I tried this. Now the response is: 'The server encountered an error while evaluating the solution'. Any further hint will be highly appreciated!

on 15 Apr 2012

Kees Roos submitted a Comment to Solution 76592

What can to do if Cody's response to a good working Matlab program on your PC is 'Undefined function 'mindist' for input arguments of type 'double''?

on 14 Apr 2012

Kees Roos submitted a Comment to Solution 75762

Thanks. I changed my code so that isolated nodes are not removed. It runs well on my PC, producing solutions identical to the 'correct' solutions, but the new code is not accepted by Cody.

on 14 Apr 2012

Kees Roos submitted a Comment to Solution 76528

I get 'The server encountered an error while evaluating the solution.' Why? It runs well on my PC, giving correct solutions (at least for the first 3 test problems for which the solution is given).

on 14 Apr 2012

Kees Roos submitted a Comment to Solution 71134

Dear @bmtran, how can does work? I ask this because you add the vector diag(M) to a matrix. I think you should write
diag(diag(M)) instead of diag(M). Am I wrong?

on 13 Apr 2012

Kees Roos submitted Solution 75832 to Problem 545. Flip the main diagonal of a matrix

on 13 Apr 2012

Kees Roos submitted Solution 75827 to Problem 545. Flip the main diagonal of a matrix

on 13 Apr 2012

Kees Roos submitted Solution 75821 to Problem 545. Flip the main diagonal of a matrix

on 13 Apr 2012

Kees Roos submitted Solution 75801 to Problem 545. Flip the main diagonal of a matrix

on 13 Apr 2012

Kees Roos submitted Solution 75791 to Problem 545. Flip the main diagonal of a matrix

on 13 Apr 2012

Kees Roos submitted a Comment to Solution 75762

Please, improve the code for testing the solutions. As I mentioned earlier the number of nodes for the test problems 2 and 4 are 9 and 99, respectively. Due to this my solutions are rejected. I am not sure what is wrong with test problem 5, but I am almost sure that also there something goes wrong.

on 13 Apr 2012

Kees Roos submitted a Comment to Solution 74067

Test problem 4 has 99 nodes, not 100!

on 11 Apr 2012

Kees Roos submitted a Comment to Solution 74067

Test 2 has 9 nodes (not 10); my D is 9 by 9 and correct, why does it fail your test?

on 11 Apr 2012

Kees Roos submitted Solution 3132 to Problem 16. Return the largest number that is adjacent to a zero

on 26 Jan 2012

Kees Roos submitted Solution 3126 to Problem 14. Find the numeric mean of the prime numbers in a matrix.

on 26 Jan 2012

Kees Roos submitted Solution 3106 to Problem 6. Select every other element of a vector

on 26 Jan 2012

Kees Roos submitted Solution 3102 to Problem 6. Select every other element of a vector

on 26 Jan 2012