### Problem Groups The Community group contains problems contributed by Cody players. The Cody Challenge group contains problems created by the Cody administrator.

New to Cody? Let us show you how Cody works, or start solving problems.

# Community

Problems submitted by members of the MATLAB Central community.

2156Solvers

### Is my wife right?

Created by the cyclist

1411Solvers

### Pizza!

Created by the cyclist

1214Solvers

Created by Will

1015Solvers

### Check if sorted

Created by Amitava Biswas

746Solvers

### Sum all integers from 1 to 2^n

Created by Dimitris Kaliakmanis

674Solvers

### How to find the position of an element in a vector without using the find function

Created by Chelsea

665Solvers

### The Hitchhiker's Guide to MATLAB

Created by the cyclist

577Solvers

### Reverse the vector

Created by Vishwanathan Iyer

509Solvers

### Distance walked 1D

Created by Amitava Biswas

485Solvers

### Too mean-spirited

Created by the cyclist

420Solvers

### Swap the input arguments

Created by Steve Eddins

400Solvers

### Roll the Dice!

Created by @bmtran

366Solvers

### radius of a spherical planet

Created by Amitava Biswas

342Solvers

### inner product of two vectors

Created by Amitava Biswas

342Solvers

### Is my wife right? Now with even more wrong husband

Created by the cyclist

326Solvers

### Project Euler: Problem 1, Multiples of 3 and 5

Created by Doug Hull

315Solvers

### Bottles of beer

Created by Alan Chalker

301Solvers

### Sorted highest to lowest?

Created by Amitava Biswas

268Solvers

### Make one big string out of two smaller strings

Created by Michelle

264Solvers

### Arrange Vector in descending order

Created by Vishwanathan Iyer

247Solvers

### Factorize THIS, buddy

Created by the cyclist

230Solvers

### Find the sum of the elements in the "second" diagonal

Created by Roy Fahn

217Solvers

### Given an unsigned integer x, find the largest y by rearranging the bits in x

Created by Amitava Biswas

207Solvers

### surface of a spherical planet

Created by Amitava Biswas

206Solvers

### Tell me the slope

Created by Amitava Biswas

198Solvers

### All capital?

Created by Amitava Biswas

193Solvers

### Back to basics 6 - Column Vector

Created by Alan Chalker

189Solvers

### Program an exclusive OR operation with logical operators

Created by Tobias Otto

184Solvers

### Right and wrong

Created by the cyclist

184Solvers

### given 3 sides, find area of this triangle

Created by Amitava Biswas

180Solvers

### Omit columns averages from a matrix

Created by Roy Fahn

169Solvers

Created by Sunu

162Solvers

### Back to basics 8 - Matrix Diagonals

Created by Alan Chalker

158Solvers

### Solve the Sudoku Row

Created by @bmtran

157Solvers

### Back to basics 11 - Max Integer

Created by Alan Chalker

155Solvers

### Love triangles

Created by the cyclist

150Solvers

### First N Perfect Squares

Created by @bmtran

148Solvers

### Increment a number, given its digits

Created by the cyclist

147Solvers

### remove DC

Created by Amitava Biswas

144Solvers

### Back to basics 22 - Rotate a matrix

Created by Alan Chalker

139Solvers

Created by Julio

136Solvers

### Project Euler: Problem 6, Natural numbers, squares and sums.

Created by Doug Hull

134Solvers

### All your base are belong to us

Created by the cyclist

128Solvers

### Number of 1s in the Binary Representation of a Number

Created by @bmtran

121Solvers

### Back to basics 10 - Max Float

Created by Alan Chalker

121Solvers

### Project Euler: Problem 10, Sum of Primes

Created by Doug Hull

120Solvers

### Back to basics 12 - Input Arguments

Created by Alan Chalker

118Solvers

### So many choices

Created by the cyclist

118Solvers

### Back to basics 1 - Saving

Created by Alan Chalker

117Solvers

### Return the first and last character of a string

Created by @bmtran