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.

18Size
0 Comments
Problem 6. Select every other element of a vector
Solution 488872 Submitted 1 minute ago by Gustav
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 6. Select every other element of a vector
Solution 488871 Submitted 1 minute ago by Gustav
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 488870 Submitted 3 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
37Size
0 Comments
Problem 7. Column Removal
Solution 488869 Submitted 4 minutes ago by Gustav
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 2524. weekday and month
Solution 488868 Submitted 7 minutes 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 2524. weekday and month
Solution 488867 Submitted 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 7. Column Removal
Solution 488866 Submitted 9 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 1666. Multielement indexing of a row array
Solution 488865 Submitted 10 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 7. Column Removal
Solution 488864 Submitted 11 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
50Size
0 Comments
Problem 50. QWERTY coordinates
Solution 488863 Submitted 12 minutes ago by Martin
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 649. Return the first and last character of a string
Solution 488862 Submitted 23 minutes ago by Martin
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
60Size
0 Comments
Problem 45. Make a Palindrome Number
Solution 488861 Submitted 24 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 45. Make a Palindrome Number
Solution 488860 Submitted 26 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
83Size
0 Comments
Problem 57. Summing Digits within Text
Solution 488859 Submitted 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.
16Size
0 Comments
Problem 189. Sum all integers from 1 to 2^n
Solution 488858 Submitted 30 minutes ago by Tarun(TJ) Jhamnani
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 488857 Submitted 30 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 189. Sum all integers from 1 to 2^n
Solution 488856 Submitted 31 minutes ago by Tarun(TJ) Jhamnani
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
11Size
0 Comments
Problem 1278. Find the nearest integer
Solution 488855 Submitted 33 minutes ago by Peter Cook
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
51Size
0 Comments
Problem 172. Test if a Number is a Palindrome without using any String Operations
Solution 488854 Submitted 35 minutes ago by Peter Cook
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 172. Test if a Number is a Palindrome without using any String Operations
Solution 488853 Submitted 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 172. Test if a Number is a Palindrome without using any String Operations
Solution 488852 Submitted 39 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 1769. singularity 2.0 (easier)
Solution 488851 Submitted 46 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 2104. construct matrix with identical rows
Solution 488850 Submitted 1 hour and 5 minutes ago by Grzegorz Knor
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1769. singularity 2.0 (easier)
Solution 488846 Submitted 1 hour and 16 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 1769. singularity 2.0 (easier)
Solution 488845 Submitted 1 hour and 16 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
0Size
0 Comments
Problem 2114. Factorial Numbers
Solution 488844 Submitted 1 hour and 26 minutes ago by Grzegorz Knor
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2114. Factorial Numbers
Solution 488843 Submitted 1 hour and 27 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 2516. Element by element multiplication of two vectors
Solution 488840 Submitted 1 hour and 40 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.
13Size
0 Comments
Problem 2522. Convert given decimal number to binary number.
Solution 488839 Submitted 1 hour and 41 minutes ago by Jean-Marie SAINTHILLIER
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 2521. Find out sum of prime number till given number
Solution 488838 Submitted 1 hour and 44 minutes ago by Jean-Marie SAINTHILLIER
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 2520. Append two matrix as shown below example
Solution 488837 Submitted 1 hour and 45 minutes ago by Jean-Marie SAINTHILLIER
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 2519. Find out total non zero element of matrix
Solution 488836 Submitted 1 hour and 47 minutes ago by Jean-Marie SAINTHILLIER
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 2518. Find out value of sine given by degree.
Solution 488835 Submitted 1 hour and 48 minutes ago by Jean-Marie SAINTHILLIER
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 462. letter yes yes & letter no no
Solution 488834 Submitted 1 hour and 51 minutes ago by Abdullah Caliskan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
52Size
0 Comments
Problem 462. letter yes yes & letter no no
Solution 488833 Submitted 1 hour and 53 minutes ago by Abdullah Caliskan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
41Size
0 Comments
Problem 1325. Special matrix
Solution 488832 Submitted 2 hours and 3 minutes ago by Abdullah Caliskan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
43Size
0 Comments
Problem 1325. Special matrix
Solution 488831 Submitted 2 hours and 4 minutes ago by Abdullah Caliskan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1325. Special matrix
Solution 488830 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.
29Size
0 Comments
Problem 2524. weekday and month
Solution 488829 Submitted 2 hours and 14 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.
Incorrect
0 Comments
Problem 6. Select every other element of a vector
Solution 488828 Submitted 2 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.
11Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 488827 Submitted 2 hours and 21 minutes ago by Gustav
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 488826 Submitted 2 hours and 21 minutes ago by Gustav
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2450. Back to the Future III
Solution 488825 Submitted 2 hours and 22 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 2448. Back to the future
Solution 488824 Submitted 2 hours and 48 minutes ago by Neil Caithness
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
1 Comment
Problem 2524. weekday and month
Solution 488823 Submitted 3 hours and 26 minutes ago by José Ramón Menzinger
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
54Size
0 Comments
Problem 2524. weekday and month
Solution 488822 Submitted 3 hours and 27 minutes ago by José Ramón 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 1048. Detect a number and replace with two NaN's
Solution 488821 Submitted 3 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.
16Size
0 Comments
Problem 167. Pizza!
Solution 488820 Submitted 3 hours and 38 minutes ago by Beshir Aman
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 167. Pizza!
Solution 488819 Submitted 3 hours and 38 minutes ago by Beshir Aman
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 19. Swap the first and last columns
Solution 488818 Submitted 3 hours and 41 minutes ago by Beshir Aman
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.