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.

35Size
0 Comments
Problem 42475. Add damping to a mass spring system
Solution 728855 Submitted 1 minute ago by Hugo Conatus
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 728854 Submitted 4 minutes ago by Jonathan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 625. Determine Whether an array is empty
Solution 728853 Submitted 4 minutes ago by Daniel
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 728852 Submitted 6 minutes ago by Jacob Page
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 157. The Hitchhiker's Guide to MATLAB
Solution 728849 Submitted 7 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
34Size
0 Comments
Problem 180. Omit columns averages from a matrix
Solution 728848 Submitted 8 minutes ago by Daniel
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 728847 Submitted 10 minutes ago by Jonathan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
76Size
0 Comments
Problem 64. The Goldbach Conjecture, Part 2
Solution 728846 Submitted 18 minutes ago by Daniel
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 728845 Submitted 34 minutes ago by Robert Snoeberger
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 728844 Submitted 35 minutes ago by Fabio Verbosio
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 728843 Submitted 42 minutes ago by Jacob Page
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 728841 Submitted 43 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 728840 Submitted 44 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 728839 Submitted 44 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 728838 Submitted 45 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 728837 Submitted 45 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 728836 Submitted 46 minutes ago by Fant Ohm
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 728835 Submitted 47 minutes ago by Fabio Verbosio
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 728834 Submitted 48 minutes ago by Fabio Verbosio
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1. Times 2 - START HERE
Solution 728833 Submitted 48 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 1. Times 2 - START HERE
Solution 728832 Submitted 50 minutes ago by Fabio Verbosio
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 728831 Submitted 50 minutes ago by Fabio Verbosio
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 728830 Submitted 54 minutes ago by William London
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 728829 Submitted 55 minutes ago by William London
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 728828 Submitted 59 minutes ago by Fabio Verbosio
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 42587. Moore-Penrose pseudoinverse of matrix
Solution 728827 Submitted 1 hour and 20 minutes ago by Peng Liu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
51Size
0 Comments
Problem 4. Make a checkerboard matrix
Solution 728826 Submitted 1 hour and 29 minutes ago by zwergnase
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1925. Smith numbers
Solution 728825 Submitted 1 hour and 38 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 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 728824 Submitted 1 hour and 53 minutes ago by zwergnase
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 5. Triangle Numbers
Solution 728823 Submitted 1 hour and 59 minutes ago by zwergnase
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1997. Compute Fibonacci Number
Solution 728822 Submitted 2 hours and 9 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 7. Column Removal
Solution 728821 Submitted 2 hours and 11 minutes ago by zwergnase
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
34Size
0 Comments
Problem 42587. Moore-Penrose pseudoinverse of matrix
Solution 728820 Submitted 2 hours and 12 minutes ago by James
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 728819 Submitted 2 hours and 20 minutes ago by zwergnase
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 728818 Submitted 2 hours and 21 minutes ago by zwergnase
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 728817 Submitted 2 hours and 25 minutes ago by zwergnase
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 728816 Submitted 2 hours and 30 minutes ago by zwergnase
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 42533. Calculate volume of box
Solution 728815 Submitted 2 hours and 31 minutes ago by Okan Celik
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
15Size
0 Comments
Problem 1661. Circle area using pi
Solution 728814 Submitted 2 hours and 31 minutes ago by Okan Celik
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 728813 Submitted 2 hours and 31 minutes ago by zwergnase
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 42534. find whether it is prime or not
Solution 728812 Submitted 2 hours and 33 minutes ago by Okan Celik
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 42542. Currency conversion
Solution 728811 Submitted 2 hours and 33 minutes ago by Okan Celik
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 42542. Currency conversion
Solution 728810 Submitted 2 hours and 35 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
47Size
0 Comments
Problem 659. How long is the longest prime diagonal?
Solution 728809 Submitted 2 hours and 36 minutes ago by Richard
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 728808 Submitted 2 hours and 37 minutes ago by zwergnase
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 728806 Submitted 2 hours and 40 minutes ago by zwergnase
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 728805 Submitted 3 hours and 21 minutes ago by Hugo Conatus
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 42471. Make a full wave rectifier
Solution 728804 Submitted 3 hours and 26 minutes ago by Hugo Conatus
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 42560. Writing a while loop
Solution 728803 Submitted 3 hours and 29 minutes ago by Okan Celik
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 42470. Make a half wave rectifier
Solution 728802 Submitted 3 hours and 29 minutes ago by Hugo Conatus
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.