Top 1% contributor
A harder version of Get me!
I *think* I only left one door open..
we could be close to a perfect anti-cheating engine,
1 year ago
3 years ago
It depends on the type of function you would like to use to interpolate the data. You can use polyfit (removing the zeroes from ...
6 years ago
Inspired by problem <http://www.mathworks.com/matlabcentral/cody/problems/866-community-problem-500 866>.
Can you make your c...
What's going on here?
Calculate the fft manually, without using matlab's builtin function.
No cheating allowed.
Exploiting cody v2
Inspired by Now! problems.
Do your best!
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...
Given a and b generate an output matrix as shown in following examples:
output=[2 20 200 2000 20000]
So the goal here is to find any number that is equal to its immediate neighbors and mark it true. Here is some examples:
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...
Here is a task:
You’re given a text file. Your first task is to create a variable in MATLAB which will hold the text given to...
Given a list of pairs, find the orientation they should be placed in a line, such that the sum of the absolute values of the dif...
You have a stack of tiles to put onto an array-like playing board. Each tile has a number (always an integer), and the board var...
Singularity is very important thing of robust control.
Try to plot singular values over frequency of a MIMO system.
Note: this is lifted directly from <http://www.mathworks.com/matlabcentral/answers/82825-puzzler-for-a-monday Puzzler for a Mond...
Given a list of US states, remove all the states that start with the letter N.
s1 = 'Alabama Montana Nebraska Vermont Ne...
Reverse the vector elements.
Input x = [1,2,3,4,5,6,7,8,9]
Output y = [9,8,7,6,5,4,3,2,1]
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for.
Given the number x, y must be the summation of all integers from 1 to 2^x.
For instance if x=2 then y must be 1+2+3+4=10.
Calculate the factorial of a non-negative integer without using the built in function *factorial*
You might have found a solution to our <http://www.mathworks.com/matlabcentral/cody/problems/205-hackathon-the-beginnings previo...
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...
There will always be at least one prime in the matrix.
Input in = [ 8 3
5 9 ]
Output out is 4...
So you have to "rip" a number apart into individual digits... The end output is a cell.
That is if:
x = 12345678
Join the conversation