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.

20Size
0 Comments
Problem 2713. Circle area using pi
Solution 610162 Submitted 2 hours and 10 minutes ago by HS
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 32. Most nonzero elements in row
Solution 610138 Submitted 3 hours and 4 minutes ago by Gennadiy Gurariy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 189. Sum all integers from 1 to 2^n
Solution 610137 Submitted 3 hours and 4 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 610035 Submitted 8 hours and 36 minutes ago by zaid said
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 609758 Submitted 16 hours and 20 minutes ago by Doodle
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 451. Is this matrix orthogonal?
Solution 609649 Submitted 18 hours and 39 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 1801. 03 - Matrix Variables 5
Solution 609642 Submitted 18 hours and 47 minutes ago by Nicolas Hagen
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 895. Generate N equally spaced intervals between -L and L
Solution 609621 Submitted 19 hours and 37 minutes ago by Nicolas Hagen
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 609558 Submitted 22 hours and 31 minutes ago by Andy Zhang
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 609454 Submitted on 31 Mar 2015 at 23:44
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 4. Make a checkerboard matrix
Solution 609291 Submitted on 31 Mar 2015 at 20:04
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 109. Check if sorted
Solution 609171 Submitted on 31 Mar 2015 at 17:35 by Anurag Kotha
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 62. Elapsed Time
Solution 609085 Submitted on 31 Mar 2015 at 15:31 by Stefan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 25. Remove any row in which a NaN appears
Solution 609070 Submitted on 31 Mar 2015 at 14:50
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 6. Select every other element of a vector
Solution 609066 Submitted on 31 Mar 2015 at 14:48 by Ntsikelelo Nonjoli
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 14. Find the numeric mean of the prime numbers in a matrix.
Solution 609053 Submitted on 31 Mar 2015 at 14:40 by Aidin Razavi
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 4. Make a checkerboard matrix
Solution 608982 Submitted on 31 Mar 2015 at 12:49 by Ntsikelelo Nonjoli
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 608960 Submitted on 31 Mar 2015 at 11:30
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 608959 Submitted on 31 Mar 2015 at 11:28
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 608945 Submitted on 31 Mar 2015 at 11:13 by ragiri
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 608941 Submitted on 31 Mar 2015 at 11:11 by prashant yadav
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 94. Target sorting
Solution 608692 Submitted on 30 Mar 2015 at 22:38 by Brian Moore
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 3008. Carnot cycle
Solution 608629 Submitted on 30 Mar 2015 at 20:36 by J.R.! Menzinger
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 3008. Carnot cycle
Solution 608627 Submitted on 30 Mar 2015 at 20:32
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 7. Column Removal
Solution 608585 Submitted on 30 Mar 2015 at 19: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 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 608413 Submitted on 30 Mar 2015 at 14:28 by Greg Voorberg
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 1077. Count up then down
Solution 608325 Submitted on 30 Mar 2015 at 12:13 by Nicolas Hagen
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 762. Matrix which contains the values of an other matrix A at the given locations.
Solution 608321 Submitted on 30 Mar 2015 at 12:06 by Nicolas Hagen
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 608250 Submitted on 30 Mar 2015 at 10:12 by Daniel
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 141. Solve the Sudoku Row
Solution 608073 Submitted on 29 Mar 2015 at 17:58
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 22. Remove the vowels
Solution 608027 Submitted on 29 Mar 2015 at 14:57 by René
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 607986 Submitted on 29 Mar 2015 at 9:14 by Andrew
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 260. Create a function handle that reverses the input arguments of another function handle
Solution 607943 Submitted on 29 Mar 2015 at 4:51 by LY Cao
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 607891 Submitted on 28 Mar 2015 at 21: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 19. Swap the first and last columns
Solution 607890 Submitted on 28 Mar 2015 at 21: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 167. Pizza!
Solution 607834 Submitted on 28 Mar 2015 at 20:19
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 5387. Triple function composition
Solution 607820 Submitted on 28 Mar 2015 at 17:29 by Paul Berglund
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 34. Binary numbers
Solution 607782 Submitted on 28 Mar 2015 at 16:02 by Alicia Aliaga Vicente
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 5387. Triple function composition
Solution 607773 Submitted on 28 Mar 2015 at 15:48 by fuqing yuan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 1458. Is it a number?
Solution 607720 Submitted on 28 Mar 2015 at 12:22 by Stalin Samuel
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 607569 Submitted on 28 Mar 2015 at 3:28 by Li Yjie
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 174. Roll the Dice!
Solution 607492 Submitted on 27 Mar 2015 at 19:49 by Samin Yeasar Arnob
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 607485 Submitted on 27 Mar 2015 at 19:32
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 264. Find the "ordinary" or Euclidean distance between A and Z
Solution 607473 Submitted on 27 Mar 2015 at 18:26 by Jonathan
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 607455 Submitted on 27 Mar 2015 at 17:28
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 607440 Submitted on 27 Mar 2015 at 17:07
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 607439 Submitted on 27 Mar 2015 at 17:06
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 189. Sum all integers from 1 to 2^n
Solution 607219 Submitted on 27 Mar 2015 at 13:00 by Ortinomax
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 607189 Submitted on 27 Mar 2015 at 12:40
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 151. Magic!
Solution 607065 Submitted on 27 Mar 2015 at 9:31
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.