Solved

remove nans fast

There are several ways to locate and remove nans in a matrix, and return an 1d row vector. In this problem the challenge is ...

25 days ago

Solved

Easy Sequences 25: Product of Series

The function 'P(n)' is defined as the series product: where 'T(n)' is the triangular sum: ...

25 days ago

Solved

Renaming a field in a structure array

MATLAB has a <http://www.mathworks.com/help/techdoc/ref/setfield.html setfield> and a <http://www.mathworks.com/help/techdoc/ref...

26 days ago

Solved

Counting in Finnish

Sort a vector of single digit whole numbers alphabetically by their name, in Finnish. See the Wikipedia page for <http://en.wik...

26 days ago

Solved

Find state names that start with the letter N

Given a list of US states, remove all the states that start with the letter N. If s1 = 'Alabama Montana Nebraska Vermont Ne...

26 days ago

Solved

Rumis Scorer 3

<http://en.wikipedia.org/wiki/Rumis Rumis> is a multiplayer 3D block board game where the goal is to have the most squares visib...

27 days ago

Solved

Rumis Scorer 2

<http://en.wikipedia.org/wiki/Rumis Rumis> is a multiplayer 3D block board game where the goal is to have the most squares visib...

27 days ago

Solved

Rumis Scorer 1

<http://en.wikipedia.org/wiki/Rumis Rumis> is a multiplayer 3D block board game where the goal is to have the most squares visib...

27 days ago

Solved

Scrabble Scores - 6

This problem is part of a set of problems that successively develop a more sophisticated Scrabble scoring routine. The point dis...

29 days ago

Solved

Scrabble Scores - 5

This problem is part of a set of problems that successively develop a more sophisticated Scrabble scoring routine. The point dis...

29 days ago

Solved

Scrabble Scores - 2

An <https://www.mathworks.com/matlabcentral/cody/problems/56-scrabble-scores introductory Cody problem> asks the user to score a...

29 days ago

Solved

Transposition as a CIPHER

This all about transcripting a text message. If the input string is: s1 = 'My name is Sourav Mondal', then the output is: s2 = '...

30 days ago

Solved

Set defaults

Write a function that computes the volume of a cube. The function should be able to accept three inputs: the length, width, and...

1 month ago

Solved

Create a function handle that reverses the input arguments of another function handle

Given a function that takes two input arguments and returns one output, create another function handle that performs the same op...

1 month ago

Solved

Back to basics 24 - Symbolic variables

Covering some basic topics I haven't seen elsewhere on Cody. Given a string algebraic expression, return the symbolic variables...

1 month ago

Solved

Feeling lucky?

Guess which number Cody is thinking (1 to 10)? (This is a game of luck more than skill. Good luck!)

1 month ago

Solved

How many solutions has this problem?

Guess, predict or calculate :-) (You will be scored by the accuracy). Update: <http://www.mathworks.co.uk/matlabcent...

1 month ago

Solved

Image Processing 002 : Fix Vignetting in a Visible Sensor

The task is to correct image files for Visible scanning sensors that due to errant tolerancing produce vignetted(V) images. The ...

1 month ago

Solved

Find state names that end with the letter A

Given a list of US states, remove all the states that end with the letter A. Example: Input s1 = 'Alabama Montana Nebras...

1 month ago

Solved

Find the two-word state names

Given a list of states, remove all the states that have two-word names. If s1 = 'Alabama Montana North Carolina Vermont N...

1 month ago

Solved

Cache me Outside

The test suite includes a simple recursive Fibonacci sequence generator, but it's terribly inefficient. One simple method for im...

1 month ago

Solved

Easy Sequences 1: Find the index of an element

The nth element of a series A is defined by: . Obviously, the first element A(1) = 1. Given the nth element 'A(n)', find the val...

1 month ago

Solved

GJam 2013 Veterans: Hedge

This Challenge is derived from <http://code.google.com/codejam/contest/2334486/dashboard Hedgemony>. This is the Large data set ...

1 month ago

Solved

Convert integer to base26 using letters

Write a function that converts a decimal integer to base26 using the letters of the english alphabet, i.e. 0->'a', 1->'b', 2->'c...

1 month ago

Solved

GJam: 2013 China Event: Cannon Angle

This Challenge is derived from <http://code.google.com/codejam/contest/2933486/dashboard#s=p1 GJam 2013 China Captain Hammer>. T...

1 month ago