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.

39Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 675044 Submitted just now by Francisco Salema
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
39Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 675043 Submitted 1 minute ago by Francisco Salema
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
39Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 675042 Submitted 1 minute ago by Francisco Salema
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 675041 Submitted 2 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 5. Triangle Numbers
Solution 675040 Submitted 4 minutes ago by Francisco Salema
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 675039 Submitted 5 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 5. Triangle Numbers
Solution 675038 Submitted 6 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
54Size
0 Comments
Problem 7. Column Removal
Solution 675037 Submitted 9 minutes ago by Francisco Salema
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 675036 Submitted 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 7. Column Removal
Solution 675035 Submitted 12 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 1774. Free passes for everyone!
Solution 675034 Submitted 14 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 149. Is my wife right?
Solution 675033 Submitted 18 minutes ago by Francisco Salema
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 6. Select every other element of a vector
Solution 675032 Submitted 19 minutes ago by Francisco Salema
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
36Size
0 Comments
Problem 26. Determine if input is odd
Solution 675031 Submitted 22 minutes ago by Francisco Salema
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 8. Add two numbers
Solution 675030 Submitted 27 minutes ago by Francisco Salema
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 675029 Submitted 27 minutes ago by Francisco Salema
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 675028 Submitted 28 minutes ago by Francisco Salema
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 675027 Submitted 28 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
11Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 675026 Submitted 30 minutes ago by Francisco Salema
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 1. Times 2 - START HERE
Solution 675025 Submitted 32 minutes ago by Francisco Salema
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 1. Times 2 - START HERE
Solution 675024 Submitted 33 minutes ago by Francisco Salema
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 1529. Sum the numbers on the main diagonal
Solution 675023 Submitted 42 minutes ago by Alicia Aliaga Vicente
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 641. Make a random, non-repeating vector.
Solution 675022 Submitted 47 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 1065. Make a 1 hot vector
Solution 675021 Submitted 53 minutes ago by Alicia Aliaga Vicente
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
7Size
0 Comments
Problem 1192. Say something funny
Solution 675020 Submitted 57 minutes ago by Alicia Aliaga Vicente
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
7Size
0 Comments
Problem 1192. Say something funny
Solution 675019 Submitted 58 minutes ago by Alicia Aliaga Vicente
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
7Size
0 Comments
Problem 1192. Say something funny
Solution 675018 Submitted 58 minutes ago by Alicia Aliaga Vicente
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
8Size
0 Comments
Problem 1230. Who is the smartest MATLAB programmer?
Solution 675017 Submitted 1 hour and 5 minutes ago by Alicia Aliaga Vicente
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 1107. Find max
Solution 675016 Submitted 1 hour and 6 minutes ago by Alicia Aliaga Vicente
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 42320. Write a function man that takes a row vector v and returns a matrix H as follows..
Solution 675015 Submitted 1 hour and 10 minutes ago by Jan Orwat
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 224. pressure to dB?
Solution 675014 Submitted 1 hour and 10 minutes ago by Alicia Aliaga Vicente
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 224. pressure to dB?
Solution 675013 Submitted 1 hour 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 77. Clean the List of Names
Solution 675012 Submitted 1 hour and 21 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 2509. Wind Chill Computation
Solution 675011 Submitted 1 hour and 30 minutes ago by Alicia Aliaga Vicente
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
11Size
0 Comments
Problem 623. Rotate a Matrix
Solution 675010 Submitted 1 hour and 34 minutes ago by Alicia Aliaga Vicente
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 623. Rotate a Matrix
Solution 675009 Submitted 1 hour and 35 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 1188. The Answer to Life, the Universe, and Everything
Solution 675008 Submitted 1 hour and 37 minutes ago 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 34. Binary numbers
Solution 675007 Submitted 1 hour and 43 minutes ago by Tomer Dallal
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 34. Binary numbers
Solution 675004 Submitted 2 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 34. Binary numbers
Solution 675003 Submitted 2 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.
12Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 675002 Submitted 2 hours and 6 minutes ago by Jamie Sparkes
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 8. Add two numbers
Solution 675001 Submitted 2 hours and 7 minutes ago by Jamie Sparkes
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 8. Add two numbers
Solution 675000 Submitted 2 hours and 10 minutes ago by Jamie Sparkes
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 8. Add two numbers
Solution 674999 Submitted 2 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.
13Size
0 Comments
Problem 8. Add two numbers
Solution 674998 Submitted 2 hours and 10 minutes ago by Jamie Sparkes
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 8. Add two numbers
Solution 674997 Submitted 2 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 8. Add two numbers
Solution 674996 Submitted 2 hours and 12 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
51Size
0 Comments
Problem 166. Kaprekar numbers
Solution 674995 Submitted 2 hours and 17 minutes ago 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 166. Kaprekar numbers
Solution 674994 Submitted 2 hours and 18 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
54Size
0 Comments
Problem 69. Find the peak 3n+1 sequence value
Solution 674993 Submitted 2 hours and 18 minutes ago by Alicia Aliaga Vicente
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.