wait for me
wait exactly x seconds please, need not be more than 2 seconds but must be accurate within say 50 milliseconds, your function mu...
5 years ago
Solved
Counting Sequence
Given a vector x, find the "counting sequence" y.
A counting sequence is formed by "counting" the entries in a given sequence...
5 years ago
Solved
Reverse Run-Length Encoder
Given a "counting sequence" vector x, construct the original sequence y.
A counting sequence is formed by "counting" the entrie...
Back to basics 2 - Function Path
Covering some basic topics I haven't seen elsewhere on Cody.
Given a string that is the name of a MATLAB function, return a s...
Make a simplified barcode
Given an integer to encode, make a barcode using the following encoding scheme:
* The bar code is made from the binary versio...
Free passes for everyone!
_Simply return the name of the coolest numerical computation software ever_
*Extra reward* (get a _freepass_):
Once a mont...
5 years ago
Solved
Fibonacci Decomposition
Every positive integer has a unique decomposition into nonconsecutive Fibonacci numbers f1+f2+ ... Given a positive integer n, r...
5 years ago
Solved
"Look and say" sequence
What's the next number in this sequence?
* [0]
* [1 0]
* [1 1 1 0]
* [3 1 1 0]
* [1 3 2 1 1 0]
This a variant on the w...
Check to see if a Sudoku Puzzle is Solved
*Description:*
Your task, should you choose to accept it, is to make a function that checks to see if a 9x9 matrix of integer...
5 years ago
Solved
Cos Function
x is the abscissa. find the absolute value of cosine of -x and the same value with changed sign.
5 years ago
Solved
MiniMax
Find the smallest value in array, which is the maximum of its row and column.
Example: in array shown below are two numbers w...