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?

Cody 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
Problem 3. Find the sum of all the numbers of the input vector
Solution 693650 Submitted on 30 Jun 2015 at 1:36
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 693649 Submitted on 30 Jun 2015 at 1:36
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 693648 Submitted on 30 Jun 2015 at 1:35
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 693647 Submitted on 30 Jun 2015 at 1:34 by Rick Watkins
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 25. Remove any row in which a NaN appears
Solution 693318 Submitted on 29 Jun 2015 at 18:52 by C R
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 692972 Submitted on 29 Jun 2015 at 6:22
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 5. Triangle Numbers
Solution 692935 Submitted on 29 Jun 2015 at 5:51
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 167. Pizza!
Solution 692898 Submitted on 29 Jun 2015 at 0:50
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 692888 Submitted on 28 Jun 2015 at 23:14
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 692886 Submitted on 28 Jun 2015 at 23:09
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 692865 Submitted on 28 Jun 2015 at 22:31 by Jacob Whitehead
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 1377. find radius of cone
Solution 692805 Submitted on 28 Jun 2015 at 16:55 by Gaurav Singh
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1. Times 2 - START HERE
Solution 692775 Submitted on 28 Jun 2015 at 15:48
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 692737 Submitted on 28 Jun 2015 at 11:54 by Pramit Biswas
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 26. Determine if input is odd
Solution 692663 Submitted on 27 Jun 2015 at 21:10
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 106. Weighted average
Solution 692599 Submitted on 27 Jun 2015 at 8:13
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 42426. find even number
Solution 692583 Submitted on 27 Jun 2015 at 1:12
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 167. Pizza!
Solution 692447 Submitted on 26 Jun 2015 at 15:37
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2574. Replacing a row
Solution 692352 Submitted on 26 Jun 2015 at 13:05 by Levent Zaimoglu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 26. Determine if input is odd
Solution 692273 Submitted on 26 Jun 2015 at 11:56
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2430. Find the relation
Solution 692180 Submitted on 26 Jun 2015 at 10:36 by dhanashree shirodkar
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 26. Determine if input is odd
Solution 692101 Submitted on 26 Jun 2015 at 9:37
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 26. Determine if input is odd
Solution 692099 Submitted on 26 Jun 2015 at 9:37
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 1943. Signed Magnitude
Solution 692086 Submitted on 26 Jun 2015 at 9:26 by Levent Zaimoglu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2850. Matlab Basics - Switching Assignments
Solution 692072 Submitted on 26 Jun 2015 at 9:18 by Levent Zaimoglu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 42404. Divisible by 2
Solution 691989 Submitted on 26 Jun 2015 at 7:06 by Ziko
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 691738 Submitted on 25 Jun 2015 at 22:29
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2733. Evil Number
Solution 691704 Submitted on 25 Jun 2015 at 20:10
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 509. Count photos
Solution 691688 Submitted on 25 Jun 2015 at 19:39 by Damien
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 1065. Make a 1 hot vector
Solution 691682 Submitted on 25 Jun 2015 at 19:26 by Damien
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 142. give nth decimal place of pi
Solution 691671 Submitted on 25 Jun 2015 at 19:19
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 167. Pizza!
Solution 691623 Submitted on 25 Jun 2015 at 16:56
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 42407. Divisible by 5
Solution 691595 Submitted on 25 Jun 2015 at 16:01 by Alfonso Nieto-Castanon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 42257. create square matrix of stars.Given z where rows and columns equal to max of z
Solution 691506 Submitted on 25 Jun 2015 at 13:41
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 106. Weighted average
Solution 691321 Submitted on 25 Jun 2015 at 10:13 by Edward
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 450. What is the distance from point P(x,y) to the line Ax + By + C = 0?
Solution 691260 Submitted on 25 Jun 2015 at 6:10
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 9. Who Has the Most Change?
Solution 691216 Submitted on 25 Jun 2015 at 4:47
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 691076 Submitted on 24 Jun 2015 at 18:06 by Harvey Li
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 350. Back to basics 7 - Equal NaNs
Solution 691043 Submitted on 24 Jun 2015 at 16:31
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 1974. Length of a short side
Solution 690983 Submitted on 24 Jun 2015 at 14:36 by Robb
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 5. Triangle Numbers
Solution 690975 Submitted on 24 Jun 2015 at 14:29
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 1974. Length of a short side
Solution 690919 Submitted on 24 Jun 2015 at 13:22 by vinayak patil
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 1666. Multielement indexing of a row array
Solution 690896 Submitted on 24 Jun 2015 at 11:32 by Ashutosh datar
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 730. How many trades represent all the profit?
Solution 690704 Submitted on 24 Jun 2015 at 5:57 by Damien
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 730. How many trades represent all the profit?
Solution 690703 Submitted on 24 Jun 2015 at 5:55
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 6. Select every other element of a vector
Solution 690592 Submitted on 23 Jun 2015 at 19:36
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 42396. the proud tradition of zero scores in Cody
Solution 690572 Submitted on 23 Jun 2015 at 19:20
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 42396. the proud tradition of zero scores in Cody
Solution 690546 Submitted on 23 Jun 2015 at 19:03
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 751. Implement simple rotation cypher
Solution 690430 Submitted on 23 Jun 2015 at 16:14 by Damien
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 129. All capital?
Solution 690424 Submitted on 23 Jun 2015 at 15:54 by Damien
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.