Solved


Persistent Usage
This Challenge is to implement the Matlab Persistent variable capability. Given a sequence of Calls to a function return the ...

8 years ago

Solved


Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

8 years ago

Solved


Inscribed Pentagon? 2
Your function will be provided with the five vertices of a pentagon (p) as well as the center point (cp) and radius (r) of a cir...

8 years 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 ...

8 years ago

Solved


Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
Submit your answer to this problem a multiple of 5 seconds after the hour. Your answer is irrelevant; the only thing that matte...

8 years ago

Solved


How to subtract?
* Imagine you need to subtract a few numbers using MATLAB. * You will not be using eval for this task. * Given two ASCII strin...

8 years ago

Problem


Wait a second!
Your code needs to take 'exactly' one second to run — accurate to ±0.5 milliseconds. The input will be the number of millis...

8 years ago | 1 | 16 solvers

Problem


Code breaker, Part III: Operation Xiangliu
You have been tasked with decoding several batches of coded messages that have been intercepted. Based on previous intellig...

8 years ago | 2 | 12 solvers

Solved


pay it forward
THIS PROBLEM IS BEING RESCORED, PLEASE WAIT Return any number (integer between 0 and 65535) You will pass this problem if ...

8 years ago

Solved


Now!
I said now!

8 years ago

Solved


Get me! v2
Exploiting cody v2

8 years ago

Solved


Self-Description
This is a simplified version of the <http://xkcd.com/688/ *xkcd comic* by the same name>. Simply return the angle (in degrees...

8 years ago

Solved


hackathon impossible
You might have found a solution to our <http://www.mathworks.com/matlabcentral/cody/problems/205-hackathon-the-beginnings previo...

8 years ago

Solved


Hackathon: the beginnings
I am thinking of a number between 1 and 10000... can you guess what this number is? *Description* The test suite has rando...

8 years ago

Solved


Fix y_correct : Hack
The Test Suite has an error. Fix the y_correct value. (See the tags for hints)

8 years ago

Solved


Free passes for everyone!
THIS PROBLEM IS TEMPORALLY DECOMMISSIONED WHILE IT IS UPDATED. PLEASE WAIT _Simply return the name of the coolest numerical c...

8 years ago

Solved


Assert yourself! Hack the assert function to pass this test.
Have you ever wanted to test out one of those hacks you have seen which "games" the problem by simply overwriting the assert met...

8 years ago

Solved


Community Problem 500!
In honor of this being the 500th Community problem, see if you can create a function that has a Cody size of 500. It can do any...

8 years ago

Solved


Matrix Generation from Vector Multiplication
Output the matrix generated from multiplying two vectors together

8 years ago

Solved


Check if inputted variable is a string or a number
Check if a inputted variable is a number or a string, given a string input (i.e. '1' is 1 and thus a number, 'a' is a string).

8 years ago

Solved


Component area
Find the area of the component below, all measurements are in mm <<https://image.ibb.co/hocruF/Component.png>>

8 years ago

Solved


Matrix Max Finder
Output the maximum value in a matrix

8 years ago

Solved


Replace 0 indices in array with 1's
Take a incoming vector, and replace 0's with ones

8 years ago

Solved


Find the index of the lowest number in a matrix
Take a matrix, and find the [row cal] index of the lowest number

8 years ago

Solved


Sum two matrices
Take two incoming matrices, and sum them

8 years ago

Solved


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

8 years ago

Solved


Matrix element wise multiplication
Take two incoming vectors, and multiply them element wise

8 years ago

Solved


Rewrite setdiff to account for non-unique values
Setdiff(a,b) is a function that will remove all values of b from a. Sometimes, you need this function to do a little bit extra,...

8 years ago

Solved


Find the mean of two vectors
Take two vectors, and output the mean of them (bonus if you don't use the in-built mean function)

8 years ago

Solved


Vector Element Multiplication
Take two incoming vectors, and output the element wise multiplication of the vectors.

8 years ago

Load more