Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

Recent Activity

SRUJANAV submitted a Comment to Solution 674686

what is the wrong in my solution?

7 hours and 46 minutes ago

Binbin Qi submitted a Comment to Solution 674488

just test...

on 24 May 2015 at 9:29

Binbin Qi submitted a Comment to Problem 892. Solve Rubik's Cube - Up to Two Face Moves

Error: Error downloading URL.

on 24 May 2015 at 9:24

Tomer Dallal submitted a Comment to Solution 674471

I'm loving it

on 24 May 2015 at 7:26

bainhome submitted a Comment to Solution 471228

wow!seriously weird,like that.

on 24 May 2015 at 5:13

Juan Gallego submitted a Comment to Problem 42325. Compute taylor series.

Is it really the solution correct?

on 23 May 2015 at 18:34

bainhome submitted a Comment to Solution 503123

rough situation,tough answer.lol

on 23 May 2015 at 13:54

James submitted a Comment to Solution 672946

Whoa. That is some serious regexprep-fu you have there, LY Cao.

on 22 May 2015 at 15:48

Jan Orwat submitted a Comment to Solution 673635

Thanks!

on 22 May 2015 at 15:29

James submitted a Comment to Solution 673635

Done, and you're correct: it failed 88887. Nice catch.

on 22 May 2015 at 12:39

Jan Orwat submitted a Comment to Solution 673635

This one fails when only last digit is incorrect. James, could you add some cases to eliminate it, please? 2, 819 or 889 should be enough.

on 22 May 2015 at 11:55

srujana vantikommu submitted a Comment to Solution 673558

what is the problem in my solution? why it is showing error.

on 22 May 2015 at 7:36

bainhome submitted a Comment to Solution 673220

suddenly,madness just came up from nowhere.lol

on 22 May 2015 at 2:15

Binbin Qi submitted a Comment to Problem 781. Access a web hosted copy of the Tiles Contest MAT file

Error download URL

on 21 May 2015 at 22:57

James submitted a Comment to Solution 673220

"% this code is stupid enough to make me want to throw something to my computer." - We've *all* written code like that, bainhome. No worries.

on 21 May 2015 at 19:37

bainhome submitted a Comment to Solution 489354

wasn't the smallest size,but the thought is outstanding!

on 21 May 2015 at 18:33

Gareth Lee submitted a Comment to Solution 152707

not good

on 21 May 2015 at 13:14

ian mohney submitted a Comment to Problem 888. Create a vector whose elements depend on the previous element

Would be nice if we compare code speed instead of size.

on 20 May 2015 at 20:01

Riazul Arefin submitted a Comment to Solution 672510

test suite is not ok

on 20 May 2015 at 17:13

M_Morelock submitted a Comment to Solution 672381

Not sure what went wrong...

on 20 May 2015 at 13:47

James submitted a Comment to Solution 671788

This like gave me the celebrity badge! Woo-hoo!

on 20 May 2015 at 12:52

James submitted a Comment to Solution 672327

Including a value where x<=15 and the formula is true (like the x=8; n=2 example in your problem description) will make this solution wrong.

on 20 May 2015 at 12:52

Jonathan Campelli submitted a Comment to Problem 431. Sorting

Aye! The first column is not "sorted according the second column" (only half an explanation). The block of numbers in each row is treated as a fixed unit, and each row is rearranged such that the values in the second column are sorted in ascending order.

on 19 May 2015 at 20:32

James submitted a Comment to Solution 671788

Hack, as there is an error in test suite 5. x=15 and n=5 should result in 'false'

on 19 May 2015 at 12:49

bainhome submitted a Comment to Solution 667096

leave "by" strings alone,nice touch!

on 17 May 2015 at 10:19

Grzegorz Popek submitted a Comment to Problem 157. The Hitchhiker's Guide to MATLAB

Honestly, I solved it only because it kept reappearing on my list.

on 15 May 2015 at 10:05

Binbin Qi submitted a Comment to Solution 553551

times 10 is nice!

on 15 May 2015 at 8:16

Jonathan Campelli submitted a Comment to Problem 460. Replace May with April

I second Dimitris' and Nick's comments.

on 14 May 2015 at 18:21

Grzegorz Popek submitted a Comment to Solution 669958

I know it's not very efficient, but I sort of liked an idea behind this loop. Hence shared.

on 14 May 2015 at 6:19

Grant III submitted a Comment to Problem 42312. Find the sum of all the numbers of the input vector

Please don't post the same problem multiple times, especially such elementary ones.

on 14 May 2015 at 2:49

Grant III submitted a Comment to Problem 42311. Find the sum of all the numbers of the input vector

Please don't post the same problem multiple times, especially such elementary ones.

on 14 May 2015 at 2:49

Alicia Aliaga Vicente submitted a Comment to Problem 1774. Free passes for everyone!

Nice!

on 13 May 2015 at 16:32

Gergely Patay submitted a Comment to Problem 226. What are the odds?

Please update the last test case: "Error: BITMAX has been removed. Use FLINTMAX instead."

on 13 May 2015 at 15:27

Jonathan Campelli submitted a Comment to Problem 659. How long is the longest prime diagonal?

"find the longest diagonal arrangement of primes in spiral(n)" leaves room for misinterpretation. I would have quickly understood: "return the length of the longest diagonal sequence of primes in spiral(n)"

on 11 May 2015 at 18:27

Gaurav Singh submitted a Comment to Problem 4. Make a checkerboard matrix

nice

on 11 May 2015 at 18:13

Aarron Erbas submitted a Comment to Solution 668693

oooh yes

on 10 May 2015 at 14:28

Aarron Erbas submitted a Comment to Solution 668689

Great i liked this

on 10 May 2015 at 14:16

Alfonso Nieto-Castanon submitted a Comment to Solution 668373

note: repelem did not exist back when this problem was created

on 9 May 2015 at 4:58

Meade submitted a Comment to Solution 668276

Slower, but actually readable in 2 lines.

on 8 May 2015 at 20:39

bainhome submitted a Comment to Solution 54224

agree,great indeed!

on 8 May 2015 at 17:15

Meade submitted a Comment to Solution 571464

This is like the 'War & Peace' solution. I like it!

on 8 May 2015 at 16:14

bainhome submitted a Comment to Solution 162219

wrong answer,need to use setdiff

on 8 May 2015 at 15:32

Thara Jose submitted a Comment to Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]

nice

on 8 May 2015 at 14:19

bainhome submitted a Comment to Solution 290711

I wonder how could this kinda solution pass the test?!

on 8 May 2015 at 13:40

bainhome submitted a Comment to Problem 2377. Area of a disk

why don't you claim "pi"?really hate it.

on 8 May 2015 at 11:15

Clementina Reynolds submitted a Comment to Problem 26. Determine if input is odd

Nolan: you aren't using the variables provided

on 8 May 2015 at 10:10

Clementina Reynolds submitted a Comment to Problem 26. Determine if input is odd

ipek: you only need one end.

on 8 May 2015 at 10:04

Meade submitted a Comment to Solution 508476

I ended up with the same logic, I'm glad I wasn't the only one. It's a shame this is basically a verbose reworking of the imdilate function (which is not accessible for this challenge)

on 8 May 2015 at 0:15