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 195. Program an exclusive OR operation with logical operators
Solution 709214 Submitted 10 hours and 36 minutes ago by Navan Ruthramoorthy
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 709205 Submitted 11 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.
20Size
0 Comments
Problem 174. Roll the Dice!
Solution 709201 Submitted 11 hours and 22 minutes ago by Nimit Dhulekar
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 42. Find the alphabetic word product
Solution 709187 Submitted 11 hours and 30 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 42474. Model a mass spring system
Solution 709159 Submitted 12 hours and 8 minutes ago by Tomasz
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 14. Find the numeric mean of the prime numbers in a matrix.
Solution 709082 Submitted 16 hours and 1 minute ago by Eric Zhao
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 14. Find the numeric mean of the prime numbers in a matrix.
Solution 709081 Submitted 16 hours and 1 minute ago by Eric Zhao
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 42474. Model a mass spring system
Solution 709077 Submitted 16 hours and 26 minutes ago by Yoshio
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 42471. Make a full wave rectifier
Solution 709009 Submitted 19 hours and 21 minutes ago by Tomasz
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 708941 Submitted 20 hours and 40 minutes ago by Samyuktha v
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 708940 Submitted 20 hours and 41 minutes ago by Samyuktha v
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 42474. Model a mass spring system
Solution 708838 Submitted on 31 Jul 2015 at 7:46 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 14. Find the numeric mean of the prime numbers in a matrix.
Solution 708836 Submitted on 31 Jul 2015 at 7:30 by SAR
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1054. What's Your BMI?
Solution 708802 Submitted on 31 Jul 2015 at 6: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 1054. What's Your BMI?
Solution 708801 Submitted on 31 Jul 2015 at 6:07
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 42474. Model a mass spring system
Solution 708776 Submitted on 31 Jul 2015 at 3:50 by Alfonso Nieto-Castanon
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 708775 Submitted on 31 Jul 2015 at 3:50 by Yoshio
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 708749 Submitted on 30 Jul 2015 at 23:07 by Beth Bezaire
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 708736 Submitted on 30 Jul 2015 at 21:53 by Sarah
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 708714 Submitted on 30 Jul 2015 at 20:44 by Andrew Calcutt
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 304. Bottles of beer
Solution 708670 Submitted on 30 Jul 2015 at 19:38 by David Schafer
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 304. Bottles of beer
Solution 708668 Submitted on 30 Jul 2015 at 19: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 174. Roll the Dice!
Solution 708664 Submitted on 30 Jul 2015 at 19:34
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 174. Roll the Dice!
Solution 708661 Submitted on 30 Jul 2015 at 19:32
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 42474. Model a mass spring system
Solution 708626 Submitted on 30 Jul 2015 at 18:55 by Sergio Biagioni
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 42474. Model a mass spring system
Solution 708608 Submitted on 30 Jul 2015 at 18:42 by James Kristoff
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 708567 Submitted on 30 Jul 2015 at 18:14 by Sergio Biagioni
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 42474. Model a mass spring system
Solution 708514 Submitted on 30 Jul 2015 at 17:10 by JM Modisette
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 708486 Submitted on 30 Jul 2015 at 16:53 by Tom Gaudette
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 708480 Submitted on 30 Jul 2015 at 16:49 by JM Modisette
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 708465 Submitted on 30 Jul 2015 at 16:42 by Giampiero Campa
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 708395 Submitted on 30 Jul 2015 at 15:24
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 14. Find the numeric mean of the prime numbers in a matrix.
Solution 708289 Submitted on 30 Jul 2015 at 11:01 by G MX
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 42477. Model a simple pendulum
Solution 708257 Submitted on 30 Jul 2015 at 9:51
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 42477. Model a simple pendulum
Solution 708240 Submitted on 30 Jul 2015 at 8:43
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 42477. Model a simple pendulum
Solution 708238 Submitted on 30 Jul 2015 at 8: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 42477. Model a simple pendulum
Solution 708232 Submitted on 30 Jul 2015 at 8:37
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 42474. Model a mass spring system
Solution 708230 Submitted on 30 Jul 2015 at 8:33 by Jan Orwat
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 42474. Model a mass spring system
Solution 708222 Submitted on 30 Jul 2015 at 8:23 by Pritesh Shah
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 42476. Model a falling body
Solution 708221 Submitted on 30 Jul 2015 at 8:15
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 42474. Model a mass spring system
Solution 708192 Submitted on 30 Jul 2015 at 5:38
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 708167 Submitted on 29 Jul 2015 at 23:00 by Jan Orwat
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 42474. Model a mass spring system
Solution 708126 Submitted on 29 Jul 2015 at 20:38 by Grant III
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 708075 Submitted on 29 Jul 2015 at 19:04 by James
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 1666. Multielement indexing of a row array
Solution 707872 Submitted on 29 Jul 2015 at 14:08 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 707804 Submitted on 29 Jul 2015 at 12:39 by Tiago Correia
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 167. Pizza!
Solution 707803 Submitted on 29 Jul 2015 at 12:39
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 25. Remove any row in which a NaN appears
Solution 707764 Submitted on 29 Jul 2015 at 9:18
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 707636 Submitted on 28 Jul 2015 at 22:35 by Peng Liu
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 707635 Submitted on 28 Jul 2015 at 22:31
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.