Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

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 769. Calculate the area of a triangle between three points
Solution 927327 Submitted 40 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 927320 Submitted 51 minutes ago
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 927315 Submitted 2 hours and 32 minutes ago
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 927308 Submitted 4 hours and 1 minute ago
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 927305 Submitted 4 hours and 7 minutes ago
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 927302 Submitted 4 hours and 9 minutes ago by Frances Buist
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 5. Triangle Numbers
Solution 927290 Submitted 4 hours and 29 minutes ago by tete
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 33. Create times-tables
Solution 927287 Submitted 4 hours and 58 minutes ago by Nicholas Lombardo
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 2020. Area of an Isoceles Triangle
Solution 927272 Submitted 6 hours and 1 minute ago by Brendan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1090. Create a random logical vector of N elements of which M are true.
Solution 927260 Submitted 6 hours and 15 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1090. Create a random logical vector of N elements of which M are true.
Solution 927259 Submitted 6 hours and 19 minutes ago
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 927254 Submitted 6 hours and 29 minutes ago
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 927229 Submitted 6 hours and 55 minutes ago by Yunpeng Wang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 1. Times 2 - START HERE
Solution 927211 Submitted 7 hours and 6 minutes ago by Yunpeng Wang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 276. Size of this cup?
Solution 927198 Submitted 7 hours and 42 minutes ago by Stephanie O'Neil
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 42548. Luggage delivery
Solution 927197 Submitted 7 hours and 52 minutes ago by Stephanie O'Neil
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 64. The Goldbach Conjecture, Part 2
Solution 927196 Submitted 8 hours and 2 minutes ago by John D'Errico
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 1066. Multiples of a Number in a Given Range
Solution 927182 Submitted 8 hours and 19 minutes ago by Stephanie O'Neil
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 2690. Armstrong Number
Solution 927175 Submitted 10 hours and 2 minutes ago by Martin
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2690. Armstrong Number
Solution 927174 Submitted 10 hours and 2 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2690. Armstrong Number
Solution 927173 Submitted 10 hours and 2 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2690. Armstrong Number
Solution 927172 Submitted 10 hours and 2 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2690. Armstrong Number
Solution 927171 Submitted 10 hours and 3 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 868. Replace all zeros and NaNs in a matrix with the string 'error'
Solution 927157 Submitted 10 hours and 25 minutes ago by Stephanie O'Neil
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 868. Replace all zeros and NaNs in a matrix with the string 'error'
Solution 927156 Submitted 10 hours and 28 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 2061. Narcissistic number ?
Solution 927155 Submitted 10 hours and 28 minutes ago by Martin
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 39. Which values occur exactly three times?
Solution 927154 Submitted 10 hours and 30 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 14. Find the numeric mean of the prime numbers in a matrix.
Solution 927153 Submitted 10 hours and 31 minutes ago by KQ
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 39. Which values occur exactly three times?
Solution 927152 Submitted 10 hours and 33 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 39. Which values occur exactly three times?
Solution 927151 Submitted 10 hours and 33 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 1547. Relative ratio of "1" in binary number
Solution 927149 Submitted 10 hours and 35 minutes ago by Stephanie O'Neil
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 856. Getting the indices from a matrice
Solution 927148 Submitted 10 hours and 37 minutes ago by Stephanie O'Neil
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 856. Getting the indices from a matrice
Solution 927147 Submitted 10 hours and 37 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 856. Getting the indices from a matrice
Solution 927146 Submitted 10 hours and 38 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 856. Getting the indices from a matrice
Solution 927141 Submitted 10 hours and 42 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 42543. Compute change
Solution 927138 Submitted 10 hours and 45 minutes ago by Stephanie O'Neil
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 1422. frame of the matrix
Solution 927129 Submitted 10 hours and 57 minutes ago by Stephanie O'Neil
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 373. commutative?
Solution 927127 Submitted 10 hours and 59 minutes ago by Stephanie O'Neil
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 33. Create times-tables
Solution 927125 Submitted 11 hours and 3 minutes ago by Nicolas BERNARD
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 19. Swap the first and last columns
Solution 927122 Submitted 11 hours and 7 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 927119 Submitted 11 hours and 10 minutes ago by Nicolas BERNARD
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 927117 Submitted 11 hours and 10 minutes ago
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 927116 Submitted 11 hours and 11 minutes ago
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 927115 Submitted 11 hours and 15 minutes ago
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 927114 Submitted 11 hours and 15 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 7. Column Removal
Solution 927107 Submitted 11 hours and 19 minutes ago by Nicolas BERNARD
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 28. Counting Money
Solution 927088 Submitted 11 hours and 56 minutes ago by Jamie Muir
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 2154. Distances in a circle
Solution 927086 Submitted 12 hours and 1 minute ago by Atsushi Ueno
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 927080 Submitted 12 hours and 12 minutes ago by Nard
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 927079 Submitted 12 hours and 13 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.