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 2917. Matlab Basics II - Intervals
Solution 661432 Submitted 4 hours and 54 minutes ago by Pavan Toraty
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2021. Is this triangle right-angled?
Solution 661394 Submitted 6 hours and 50 minutes ago 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 1497. Make combination of two given matrices.
Solution 661339 Submitted 10 hours and 23 minutes ago 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 7. Column Removal
Solution 661313 Submitted 12 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 7. Column Removal
Solution 661312 Submitted 12 hours and 56 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 661310 Submitted 12 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 2739. Construct an array
Solution 661297 Submitted 13 hours and 56 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 22. Remove the vowels
Solution 661234 Submitted 17 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.
20Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 661217 Submitted 17 hours and 33 minutes ago by Lilia Espinoza
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2550. Evaluating a polynomial
Solution 661180 Submitted 19 hours and 16 minutes ago by Gareth Lee
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2723. Multi-line comments
Solution 661173 Submitted 19 hours and 31 minutes ago by Calvin D'Souza
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 731. Given a window, how many subsets of a vector sum positive
Solution 661138 Submitted 20 hours and 24 minutes ago by Gareth Lee
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2859. Matlab Basics - Sum a vector
Solution 661091 Submitted 21 hours and 6 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 2744. Double colon operator: Increment by x
Solution 661080 Submitted 21 hours and 40 minutes ago by Rachel Stokes
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 1958. Add a row of zeros on top of a matrix
Solution 661036 Submitted 23 hours and 12 minutes ago by jonathan xavier
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 5. Triangle Numbers
Solution 660914 Submitted on 25 Apr 2015 at 18:23 by Juan Enrique Guaranga
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 660889 Submitted on 25 Apr 2015 at 17:51 by Tomer
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2018. Side of a rhombus
Solution 660862 Submitted on 25 Apr 2015 at 17:16
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2023. Is this triangle right-angled?
Solution 660837 Submitted on 25 Apr 2015 at 17:01
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 5. Triangle Numbers
Solution 660635 Submitted on 25 Apr 2015 at 5:11 by erwin manurung
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 660574 Submitted on 25 Apr 2015 at 4:22 by Sebastian Cuenca
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2202. Flip the bit
Solution 660521 Submitted on 25 Apr 2015 at 3:57
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2553. Complex number
Solution 660496 Submitted on 25 Apr 2015 at 3:40
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2378. Area of a triangle
Solution 660494 Submitted on 25 Apr 2015 at 3:39 by Jose
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 660389 Submitted on 25 Apr 2015 at 2:17 by Hao li
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 120. radius of a spherical planet
Solution 660388 Submitted on 25 Apr 2015 at 2:17 by Jon-Michael Conrad
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 660353 Submitted on 25 Apr 2015 at 0:23
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 660344 Submitted on 24 Apr 2015 at 23:44 by Tomer
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 32. Most nonzero elements in row
Solution 660342 Submitted on 24 Apr 2015 at 23:37
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 32. Most nonzero elements in row
Solution 660341 Submitted on 24 Apr 2015 at 23:36
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 660334 Submitted on 24 Apr 2015 at 23:17
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 106. Weighted average
Solution 660329 Submitted on 24 Apr 2015 at 23:11
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 660231 Submitted on 24 Apr 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 42263. Calculate the logarithm of number
Solution 660139 Submitted on 24 Apr 2015 at 14:47 by Binbin Qi
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 20. Summing digits
Solution 660071 Submitted on 24 Apr 2015 at 12: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 2498. Whole Number Concatenator
Solution 659843 Submitted on 24 Apr 2015 at 8:27 by Gergely Patay
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 659753 Submitted on 24 Apr 2015 at 5:26
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 659721 Submitted on 24 Apr 2015 at 4:06
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 659682 Submitted on 24 Apr 2015 at 3:18
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 659681 Submitted on 24 Apr 2015 at 3:17
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 659680 Submitted on 24 Apr 2015 at 3:17
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 659673 Submitted on 24 Apr 2015 at 3:06 by Migue Cujilema
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 659662 Submitted on 24 Apr 2015 at 2:47 by Nathanael Bowen
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 659632 Submitted on 24 Apr 2015 at 2:11
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 659631 Submitted on 24 Apr 2015 at 2:08 by jonathan xavier
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 659450 Submitted on 23 Apr 2015 at 19:27 by Antonio
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 659391 Submitted on 23 Apr 2015 at 17:45
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 659352 Submitted on 23 Apr 2015 at 16:03 by Bradley Beler
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2703. Form a gaussian kernel using matrix size and sigma value
Solution 659158 Submitted on 23 Apr 2015 at 12:31 by Gergely Patay
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 3065. Cycling — Critical Power
Solution 659058 Submitted on 23 Apr 2015 at 10:24 by Guillaume
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.