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.

30Size
0 Comments
Problem 170. First N Perfect Squares
Solution 673684 Submitted on 22 May 2015 at 12:30 by M_Morelock
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 170. First N Perfect Squares
Solution 673682 Submitted on 22 May 2015 at 12:28
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 195. Program an exclusive OR operation with logical operators
Solution 673673 Submitted on 22 May 2015 at 12: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 195. Program an exclusive OR operation with logical operators
Solution 673672 Submitted on 22 May 2015 at 12:17
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 42321. given number is power of n or not?
Solution 673667 Submitted on 22 May 2015 at 12:13 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 42321. given number is power of n or not?
Solution 673665 Submitted on 22 May 2015 at 12:11
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 189. Sum all integers from 1 to 2^n
Solution 673662 Submitted on 22 May 2015 at 12:10 by SRUJANAV
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 838. Check if number exists in vector
Solution 673656 Submitted on 22 May 2015 at 12:03 by M_Morelock
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 838. Check if number exists in vector
Solution 673652 Submitted on 22 May 2015 at 11:59
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 233. Reverse the vector
Solution 673645 Submitted on 22 May 2015 at 11:54 by Ne Gu
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 673616 Submitted on 22 May 2015 at 10:38
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 673615 Submitted on 22 May 2015 at 10:35
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 673613 Submitted on 22 May 2015 at 10:23
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 673612 Submitted on 22 May 2015 at 10:20
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 15. Find the longest sequence of 1's in a binary sequence.
Solution 673605 Submitted on 22 May 2015 at 9:55 by Ingrid
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 15. Find the longest sequence of 1's in a binary sequence.
Solution 673604 Submitted on 22 May 2015 at 9:55
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 13. Remove all the consonants
Solution 673597 Submitted on 22 May 2015 at 9:45 by Ingrid
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 13. Remove all the consonants
Solution 673596 Submitted on 22 May 2015 at 9:45
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 673582 Submitted on 22 May 2015 at 9:07 by gpa
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 25. Remove any row in which a NaN appears
Solution 673575 Submitted on 22 May 2015 at 8:55 by Rushikesh Tade
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 22. Remove the vowels
Solution 673573 Submitted on 22 May 2015 at 8:50 by Ingrid
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 673572 Submitted on 22 May 2015 at 8:49
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 673569 Submitted on 22 May 2015 at 8:22 by David Sanchez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 9. Who Has the Most Change?
Solution 673568 Submitted on 22 May 2015 at 8:20 by Ingrid
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 673567 Submitted on 22 May 2015 at 8:18 by David Sanchez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 94. Target sorting
Solution 673555 Submitted on 22 May 2015 at 7:25 by Varoujan
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 673554 Submitted on 22 May 2015 at 7:15 by Varoujan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 39. Which values occur exactly three times?
Solution 673548 Submitted on 22 May 2015 at 6:41
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 157. The Hitchhiker's Guide to MATLAB
Solution 673547 Submitted on 22 May 2015 at 6:28 by Varoujan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 105. How to find the position of an element in a vector without using the find function
Solution 673546 Submitted on 22 May 2015 at 6:27 by Varoujan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 189. Sum all integers from 1 to 2^n
Solution 673539 Submitted on 22 May 2015 at 5:28 by srujana vantikommu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 89. Counting in Finnish
Solution 673537 Submitted on 22 May 2015 at 5:09 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 1385. Perimeter
Solution 673516 Submitted on 22 May 2015 at 4:08
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 89. Counting in Finnish
Solution 673509 Submitted on 22 May 2015 at 3: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 262. Swap the input arguments
Solution 673506 Submitted on 22 May 2015 at 3:40 by Dương Hùng
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 673501 Submitted on 22 May 2015 at 3:04
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 26. Determine if input is odd
Solution 673498 Submitted on 22 May 2015 at 3:00 by Timothy Herod
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 673496 Submitted on 22 May 2015 at 2:56
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 673492 Submitted on 22 May 2015 at 2:50
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 781. Access a web hosted copy of the Tiles Contest MAT file
Solution 673479 Submitted on 22 May 2015 at 1:28 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 781. Access a web hosted copy of the Tiles Contest MAT file
Solution 673476 Submitted on 22 May 2015 at 1:16
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 16. Return the largest number that is adjacent to a zero
Solution 673472 Submitted on 22 May 2015 at 0:50 by Tony Davis
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 673471 Submitted on 22 May 2015 at 0:49
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 94. Target sorting
Solution 673468 Submitted on 22 May 2015 at 0:33 by Tony Davis
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 141. Solve the Sudoku Row
Solution 673467 Submitted on 22 May 2015 at 0:32 by Jake
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 121. surface of a spherical planet
Solution 673436 Submitted on 21 May 2015 at 20:43 by M_Morelock
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 1315. Volume of a sphere given its surface area
Solution 673435 Submitted on 21 May 2015 at 20:43 by Matthew Brown
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 121. surface of a spherical planet
Solution 673434 Submitted on 21 May 2015 at 20:42
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 121. surface of a spherical planet
Solution 673431 Submitted on 21 May 2015 at 20:40
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 673423 Submitted on 21 May 2015 at 20:35
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.