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

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 105. How to find the position of an element in a vector without using the find function
Solution 494987 Submitted 34 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 10. Determine whether a vector is monotonically increasing
Solution 494986 Submitted 59 minutes ago by Marjolein
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 494985 Submitted 1 hour 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 10. Determine whether a vector is monotonically increasing
Solution 494984 Submitted 1 hour 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 10. Determine whether a vector is monotonically increasing
Solution 494983 Submitted 1 hour 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 10. Determine whether a vector is monotonically increasing
Solution 494982 Submitted 1 hour and 3 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 10. Determine whether a vector is monotonically increasing
Solution 494981 Submitted 1 hour and 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 10. Determine whether a vector is monotonically increasing
Solution 494980 Submitted 1 hour and 7 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 10. Determine whether a vector is monotonically increasing
Solution 494979 Submitted 1 hour and 8 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 19. Swap the first and last columns
Solution 494978 Submitted 1 hour and 10 minutes ago by Marjolein
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 4. Make a checkerboard matrix
Solution 494977 Submitted 1 hour and 13 minutes ago by Marjolein
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 26. Determine if input is odd
Solution 494976 Submitted 1 hour and 19 minutes ago by Marjolein
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 494975 Submitted 1 hour 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 26. Determine if input is odd
Solution 494974 Submitted 1 hour and 19 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 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 494973 Submitted 1 hour and 24 minutes ago by Marjolein
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 494972 Submitted 1 hour and 25 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 494971 Submitted 1 hour and 27 minutes ago by Marjolein
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 2532. Generate vector according to sign of vector
Solution 494970 Submitted 2 hours and 1 minute ago by Ziko
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 2532. Generate vector according to sign of vector
Solution 494969 Submitted 2 hours and 1 minute ago 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 2532. Generate vector according to sign of vector
Solution 494968 Submitted 2 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.
74Size
0 Comments
Problem 54. Maximum running product for a string of numbers
Solution 494967 Submitted 2 hours and 15 minutes ago by Dan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 2542. Convert a grayscale image into RGB colour format, preserving data type
Solution 494966 Submitted 2 hours and 19 minutes ago by Guillaume
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 53. Duplicates
Solution 494965 Submitted 3 hours and 9 minutes ago by Dan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 53. Duplicates
Solution 494964 Submitted 3 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.
42Size
0 Comments
Problem 64. The Goldbach Conjecture, Part 2
Solution 494963 Submitted 3 hours and 33 minutes ago by Dan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 64. The Goldbach Conjecture, Part 2
Solution 494962 Submitted 3 hours and 34 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
46Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 494961 Submitted 4 hours and 47 minutes ago by John Baek
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
73Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 494960 Submitted 4 hours and 56 minutes ago by John Baek
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 87. Indexed Probability Table
Solution 494959 Submitted 4 hours and 58 minutes ago by Dan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
105Size
0 Comments
Problem 51. Find the two most distant points
Solution 494958 Submitted 5 hours and 8 minutes ago by Dan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 1659. Fahrenheit to Celsius using multiple statements
Solution 494957 Submitted 5 hours and 37 minutes ago by Paola
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 494956 Submitted 6 hours and 45 minutes ago by Michelle
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 494955 Submitted 6 hours and 46 minutes ago by Michelle
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 494954 Submitted 6 hours and 47 minutes ago by Michelle
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 494953 Submitted 6 hours and 48 minutes ago by Michelle
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 494951 Submitted 6 hours and 55 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 494950 Submitted 6 hours and 58 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 4. Make a checkerboard matrix
Solution 494949 Submitted 7 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.
Incorrect
0 Comments
Problem 4. Make a checkerboard matrix
Solution 494948 Submitted 7 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.
10Size
0 Comments
Problem 149. Is my wife right?
Solution 494945 Submitted 7 hours and 16 minutes ago by Cameron
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 7. Column Removal
Solution 494944 Submitted 7 hours and 20 minutes ago by Anathea Pepperl
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
38Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 494943 Submitted 7 hours and 41 minutes ago by Cameron
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
99Size
0 Comments
Problem 16. Return the largest number that is adjacent to a zero
Solution 494942 Submitted 7 hours and 45 minutes ago by M
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
99Size
0 Comments
Problem 16. Return the largest number that is adjacent to a zero
Solution 494941 Submitted 7 hours and 45 minutes ago by M
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 31. Remove all the words that end with "ain"
Solution 494940 Submitted 7 hours and 45 minutes ago by Dan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 16. Return the largest number that is adjacent to a zero
Solution 494939 Submitted 7 hours and 48 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 16. Return the largest number that is adjacent to a zero
Solution 494938 Submitted 7 hours and 50 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 16. Return the largest number that is adjacent to a zero
Solution 494937 Submitted 7 hours and 51 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
44Size
0 Comments
Problem 49. Sums with Excluded Digits
Solution 494936 Submitted 7 hours and 54 minutes ago by Dan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 26. Determine if input is odd
Solution 494935 Submitted 8 hours and 10 minutes ago by Keith
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.