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

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Search Solutions

What is Size?

Size refers to the number of nodes in a parse tree. Generally speaking, you can think of size as code length.

1 – 20 of 20 previous next

35Size

0 Comments

Incorrect

0 Comments

44Size

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

45Size

0 Comments

51Size

1 Comment

1 Comment

Richard Zapor
on 11 Sep 2013

It appears that Alfonso took 7 minutes to solve this challenge.

Incorrect

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

47Size

1 Comment

1 player likes this solution

1 Comment

Alfonso Nieto-Castanon
on 12 Sep 2013

very clever simplifications (constant term in linear model is irrelevant, and optimal slope can only take a discrete set of values)

60Size

0 Comments

60Size

0 Comments

67Size

0 Comments

61Size

0 Comments

62Size

0 Comments

77Size

0 Comments

62Size

1 Comment

1 Comment

Richard Zapor
on 11 Sep 2013

Tobias took at least 2 minutes to solve this challenge with Matlab. An elegant usage of a function and a Matlab optimization function. This solution also crushed the GJam BigDataset in 1.2 seconds.

Incorrect

0 Comments

1 – 20 of 20 previous next