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

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.

12Size

0 Comments

Incorrect

0 Comments

12Size

0 Comments

Incorrect

0 Comments

12Size

0 Comments

12Size

0 Comments

12Size

0 Comments

12Size

0 Comments

26Size

0 Comments

Incorrect

0 Comments

12Size

0 Comments

Incorrect

2 Comments

2 Comments

Md.Farhad Hassan
on 25 Jul 2016 at 10:21

can anyone please help me to find out the where is the mistake, i am a new learner .........

Atsushi Ueno
on 25 Jul 2016 at 10:56

You have to define a function vecsum() like:
function y = vecsum(x)
y=0;
for x= 0:1:10
y=x+y;
end
end
because your answer is executed by calling function in test suite below. The function's name is decided by problem creater.

13Size

0 Comments

12Size

0 Comments

12Size

0 Comments

12Size

0 Comments

12Size

0 Comments

26Size

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

26Size

0 Comments

12Size

0 Comments

12Size

0 Comments

12Size

0 Comments

12Size

0 Comments

12Size

0 Comments

12Size

0 Comments

12Size

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

12Size

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

12Size

0 Comments

Incorrect

0 Comments

12Size

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

12Size

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

38Size

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

12Size

0 Comments

12Size

0 Comments