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 – 34 of 34 previous next

20Size

2 Comments

This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

1 player likes this solution

2 Comments

Alfonso Nieto-Castanon
on 27 Jan 2015

very nice expansion using struct!

Yuan
on 28 Jan 2015

thanks!

Incorrect

0 Comments

34Size

0 Comments

36Size

0 Comments

31Size

0 Comments

24Size

0 Comments

24Size

0 Comments

33Size

0 Comments

Incorrect

0 Comments

34Size

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

26Size

0 Comments

24Size

0 Comments

27Size

0 Comments

27Size

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

52Size

0 Comments

Incorrect

0 Comments

22Size

3 Comments

4 players like this solution

3 Comments

Khaled Hamed
on 24 Jan 2013

Perfect! :)

Freddy
on 24 Jan 2013

And again, Alfonso beats us all. Well done.

Alfonso Nieto-Castanon
on 24 Jan 2013

Ha... Obi-wan, become matlab you must... :)

27Size

0 Comments

23Size

2 Comments

1 player likes this solution

2 Comments

Alfonso Nieto-Castanon
on 24 Jan 2013

I often wish 'expand' was part of matlab base, don't you? (http://blogs.mathworks.com/pick/2012/03/02/when-deal-doesnt-work-disperse-2/)

Khaled Hamed
on 24 Jan 2013

I agree. Actually, at first glance I thought it was.

37Size

0 Comments

28Size

0 Comments

30Size

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

29Size

0 Comments

31Size

0 Comments

30Size

0 Comments

1 – 34 of 34 previous next