Cody

Recent Activity

1 – 50 of 6,917

Jean-Marie Sainthillier submitted a Comment to Problem 803. Twist 'n' Match

Not at all... For n-by-n matrix, m=1 if n is odd number.

20 hours and 59 minutes ago

Jean-Marie Sainthillier submitted a Comment to Problem 803. Twist 'n' Match

A lot of solutions don't work with something like n=5 and m=0

on 21 Feb 2017 at 14:02

grotman submitted a Comment to Solution 327026

The regexp cheat kind of shadows the "normal" solutions.

on 19 Feb 2017 at 15:44

Jihye Sofia Seo submitted a Comment to Problem 42605. UICBioE240 problem 1.11

isequal(NaN,NaN) ans = 0 isequaln(NaN,NaN) ans = 1

on 17 Feb 2017 at 12:06

Jihye Sofia Seo submitted a Comment to Problem 42623. UICBioE240 2.4

c_0 = 1; t = 10; Test case needs to be changed. argument x needs to be changed into c_0 and t.

on 17 Feb 2017 at 12:02

Pascal Wenger submitted a Comment to Problem 21. Return the 3n+1 sequence for n

I like this problem, because I learnt about the Collatz sequence story. Very interessting.

on 17 Feb 2017 at 10:16

Jihye Sofia Seo submitted a Comment to Problem 44070. Under the sea: Snell's law & total internal reflection

Thanks Rahul. Made changes to the test suite. Sorry !!

on 16 Feb 2017 at 21:47

goc3 submitted a Comment to Problem 761. Create a matrix X, where each column is a shifted copy of the vector v

Additional test cases have been added.

on 16 Feb 2017 at 19:14

goc3 submitted a Comment to Problem 44064. adding huge numbers

The ten tests have been broken out into separate test cases for easier debugging.

on 16 Feb 2017 at 18:47

Jihye Sofia Seo submitted a Comment to Problem 2166. Concatenate a successive power matrix in a column matrix

Please fix test case, M is inside comment, and not defined for later use.

on 16 Feb 2017 at 17:27

James submitted a Comment to Problem 44070. Under the sea: Snell's law & total internal reflection

Anyone else here a fan of The Little Mermaid?

on 16 Feb 2017 at 16:25

James submitted a Comment to Solution 1124528

Need a better test suite to prevent cheesy solutions like this one. :-) Some N>10 values in there would help. N>50 would be even better.

on 16 Feb 2017 at 16:23

James submitted a Comment to Problem 44065. Number of even divisors of a given number

For n=64, wouldn't the correct answer be 6, since 64 itself is also even? If you're not counting the number itself as a divisor, then the answers above for n=14 and n=68 would be incorrect.

on 16 Feb 2017 at 16:00

Jihye Sofia Seo submitted a Comment to Problem 2902. What's for Lunch?

I agree with Guillaume

on 16 Feb 2017 at 15:58

Jihye Sofia Seo submitted a Comment to Problem 581. Function composition

Error using compose (line 85) First argument must be a string array, character vector, or cell array of character vectors. Error in TestPoint1 (line 3) h = compose(f,g);

on 16 Feb 2017 at 15:24

Jihye Sofia Seo submitted a Comment to Problem 581. Function composition

My code runs fine on my local machine, but I get error messages when I try it here.

on 16 Feb 2017 at 15:23

Jihye Sofia Seo submitted a Comment to Problem 42715. Throw common elements of two vector arrays in sorted manner

Change description please, you mean descending order, not ascending.

on 16 Feb 2017 at 13:17

Rahul Kalampattel submitted a Comment to Problem 44070. Under the sea: Snell's law & total internal reflection

The function only has a single (undefined) input in the test suite instead of n_in and n_out.

on 15 Feb 2017 at 3:11

Jihye Sofia Seo submitted a Comment to Problem 43557. Find hen's weight.

???

on 14 Feb 2017 at 19:59

Jihye Sofia Seo submitted a Comment to Problem 43701. wipe out!

Simple but fun

on 14 Feb 2017 at 19:50

Jihye Sofia Seo submitted a Comment to Problem 43801. Union Jack Matrix

I wanted to design a problem like this. Very neat!

on 14 Feb 2017 at 19:30

Jihye Sofia Seo submitted a Comment to Problem 44065. Number of even divisors of a given number

Similar problems are: https://www.mathworks.com/matlabcentral/cody/problems/42791-number-of-divisors-of-a-given-number https://www.mathworks.com/matlabcentral/cody/problems/1025-divisors-of-an-integer

on 13 Feb 2017 at 23:30

Jihye Sofia Seo submitted a Comment to Problem 42476. Model a falling body

I also fail due to tiny deviation.

on 13 Feb 2017 at 19:57

Jihye Sofia Seo submitted a Comment to Problem 441. Drying sweater?

It seems like the water content halves every ~69 minutes. But the first sentence about 100% and 100 minutes are very confusing. If it is exponential decay, then water should never reach 0.

on 13 Feb 2017 at 18:51

Jihye Sofia Seo submitted a Comment to Problem 1155. Find the solution of algebraic equation

i' = -i i.' = -i .' is transpose ' is transpose and then complex conjugate

on 13 Feb 2017 at 10:01

Jihye Sofia Seo submitted a Comment to Problem 2396. last n digit of a power function

I think the third test case is wrong. Anyone else has problem??

on 12 Feb 2017 at 22:04

Ahmed Abdelbasit submitted a Comment to Problem 60. The Goldbach Conjecture

nice problem . I like problem related to prime numbers

on 12 Feb 2017 at 21:51

Jihye Sofia Seo submitted a Comment to Problem 42787. How many ways to write

In the test case, not enough input variables.

on 12 Feb 2017 at 21:21

Jihye Sofia Seo submitted a Comment to Problem 89. Counting in Finnish

funny

on 12 Feb 2017 at 21:17

Jihye Sofia Seo submitted a Comment to Problem 2052. provide the numerical answer to these number questions...

Really fun problem, but the test case is totally wrong. :-(

on 12 Feb 2017 at 20:57

Jihye Sofia Seo submitted a Comment to Problem 42786. odd number odd sum

Please assign value to x in test case, or remove it from function call.

on 12 Feb 2017 at 20:50

Jihye Sofia Seo submitted a Comment to Problem 42781. How many ways to write a number

Please correct test cases, the function should have 2 arguments.

on 12 Feb 2017 at 20:47

Jihye Sofia Seo submitted a Comment to Problem 42689. Distance a ball travels after throwing vertically

Specify the direction of initial velocity, is it vertical, or horizontal?

on 12 Feb 2017 at 20:07

Jihye Sofia Seo submitted a Comment to Problem 1300. Sunday bonus

Funny!

on 12 Feb 2017 at 18:19

Jihye Sofia Seo submitted a Comment to Problem 866. Community Problem 500!

Funny!

on 12 Feb 2017 at 1:25

Jihye Sofia Seo submitted a Comment to Problem 1361. Periodic Table 101.

Very creative and unique

on 12 Feb 2017 at 0:50

Jihye Sofia Seo submitted a Comment to Problem 1443. Edges of a n-dimensional Hypercube

Thanks for the nice problem! It is refreshing!

on 12 Feb 2017 at 0:47

Jihye Sofia Seo submitted a Comment to Problem 1578. Volume and area of a sphere

pi() should be replaced with pi.

on 12 Feb 2017 at 0:34

Jihye Sofia Seo submitted a Comment to Problem 1581. Area of rhombus

a is side , h is height Area is a*h (I guess)

on 12 Feb 2017 at 0:15

Jihye Sofia Seo submitted a Comment to Problem 1581. Area of rhombus

Test never passes, even when I tried "y=2"

on 12 Feb 2017 at 0:15

Jihye Sofia Seo submitted a Comment to Problem 2915. Matlab Basics II - Find the roots of a function

The ordering of roots in test case: need to make it irrelevant (use set) or sort in particular order (use sort)

on 11 Feb 2017 at 22:32

Jihye Sofia Seo submitted a Comment to Problem 42590. Divide elements by sum of elements

Very nice exercise!

on 11 Feb 2017 at 21:53

Jihye Sofia Seo submitted a Comment to Problem 855. How many monitors are connected ?

I have a laptop with 2 external monitors (3 distinct display in total), but y= 1 passes the test....

on 11 Feb 2017 at 15:27

Noriko Hounoki submitted a Comment to Solution 1120134

いくつか式を試しましたが、どうしてもサイズが12のままです。 どうしたらサイズが最少の10になるのでしょうか。。。

on 11 Feb 2017 at 2:28

Jihye Sofia Seo submitted a Comment to Problem 1406. Generate a NaN...on purpose

Fun problem!

on 11 Feb 2017 at 1:08

Jihye Sofia Seo submitted a Comment to Problem 1591. Find the minimum element of the matrix

Nobody can solve this problem because of the last test case, it has wrong name for the function.

on 11 Feb 2017 at 1:06

Jihye Sofia Seo submitted a Comment to Problem 42518. Roots of quadratic equation

Perhaps the name of the function needs to be changed?

on 11 Feb 2017 at 0:38

Jihye Sofia Seo submitted a Comment to Problem 1140. RMS value from a set of observations

Bad test cases!

on 10 Feb 2017 at 23:56

Jihye Sofia Seo submitted a Comment to Problem 1116. Calculate the height of an object dropped from the sky

Very nice and well-thought-out problem with lots of test cases with good coverage.

on 10 Feb 2017 at 23:53

Jihye Sofia Seo submitted a Comment to Problem 42531. volume of torus

Your value of pi is wrong.

on 10 Feb 2017 at 21:00

1 – 50 of 6,917