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

Learn moreOpportunities for recent engineering grads.

Apply TodaySearch 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.

Incorrect

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

27Size

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

24Size

0 Comments

1 player likes this solution

27Size

0 Comments

31Size

0 Comments

49Size

0 Comments

27Size

0 Comments

30Size

0 Comments

36Size

0 Comments

41Size

0 Comments

36Size

0 Comments

Incorrect

0 Comments

42Size

0 Comments

27Size

0 Comments

Incorrect

0 Comments

35Size

0 Comments

37Size

0 Comments

26Size

2 Comments

2 Comments

Ryan
on 5 Dec 2012

Tim,
Can you explain what the +'01'-'0' is doing? I don't see how i+'01'-'0'=[i,i+1].
Thanks

José Ramón Menzinger
on 6 Dec 2012

'01 ' is a char vector of 2 positions: '0' ans '1'.
If you subtract '0' to it, it results a char vector with characters 0 and 1.
So '01'-'0' is the same as [0 1], but because of the '[]', it cost less operations.

44Size

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments