Solved

calculate the length of matrix
input 1 array, calculate the length

11 mesi ago

Solved

Draw a '0' in a one matrix!

11 mesi ago

Solved

Rosenbrock's Banana Function and its derivatives
Write a function to return the value of <http://en.wikipedia.org/wiki/Rosenbrock_function Rosenbrock's two-dimensional banana fu...

11 mesi ago

Solved

Total energy

11 mesi ago

Solved

Potential energy calculation

11 mesi ago

Solved

Kinetic energy calculation

11 mesi ago

Solved

Laws of motion 4

11 mesi ago

Solved

Laws of motion 3

11 mesi ago

Solved

Laws of motion 2

11 mesi ago

Solved

Laws of motion 1

11 mesi ago

Solved

Laws of motion 5

11 mesi ago

Solved

Laws of motion 6

11 mesi ago

Solved

Minefield Sonar
*Background* In mine-hunting games (e.g. Microsoft Minesweeper), the user is provided with a covered grid that, upon a left c...

11 mesi ago

Solved

Great Circle Distance
Find shortest between two points on a ball given their azimuthal and polar angles (in degrees) as well as the radius of the sphe...

11 mesi ago

Solved

Right and wrong
Given a vector of lengths [a b c], determines whether a triangle with those sides lengths is a right triangle: <http://en.wikipe...

11 mesi ago

Solved

Guess the number I'm thinking of
In this game you are competing against two other people to guess the number that I'm thinking of. # I randomly choose an *i...

11 mesi ago

Solved

Find mistyped words in text (mixed-up letters)
Mistyped words are a regular occurrence in emails, texts, status updates, and the like. Many times, people send or post a second...

11 mesi ago

Solved

Calculate a modified Levenshtein distance between two strings
Inspired by the Cody problem found <http://www.mathworks.com/matlabcentral/cody/problems/93-calculate-the-levenshtein-distance-b...

11 mesi ago

Solved

Find the stride of the longest skip sequence
We define a _skip sequence_ as a regularly-spaced list of integers such as might be generated by MATLAB's <http://www.mathworks....

11 mesi ago

Solved

Golomb's self-describing sequence (based on Euler 341)
The Golomb's self-describing sequence {G(n)} is the only nondecreasing sequence of natural numbers such that n appears exactly G...

11 mesi ago

Solved

Integer sequence - 2 : Kolakoski sequence
Get the n-th term of <https://oeis.org/A000002 Kolakoski Sequence>.

11 mesi ago

Solved

Convert a structure into a string
Convert the contents of each fields into a string. Example with an input structure s with 2 fields : s.age = '33' s....

11 mesi ago

Solved

String substitution, sub problem to cryptoMath
This is a sub problem related to this problem: <http://www.mathworks.com/matlabcentral/cody/problems/621-cryptomath-addition>...

11 mesi 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...

11 mesi ago

Solved

Use of regexp
Given a string, containing several sentences, such as: 'I played piano. John played football. Anita went home. Are you safe?...

11 mesi ago

Solved

Pig Latin to English Translator
Pig latin is a faux-language based off of English. The rules are as follows (excerpted from the <http://en.wikipedia.org/wiki/Pi...

11 mesi ago

Solved

English to Pig Latin Translator
Pig latin is a faux-language based off of English. The rules are as follows (excerpted from the wikipedia entry for Pig Latin): ...

11 mesi ago

Solved

Formatting currency numbers
Given a number, format it properly for textual display using the notation \$xxx,xxx,xxx.xx. Assume that no more than two digits ...

11 mesi ago

Solved

Bang Bang in Bangalore
Imagine a strange language disorder, Bangolangosis, has developed among trigonometricians of <http://en.wikipedia.org/wiki/Banga...

11 mesi ago

Solved

Compress strings (not springs)
Please remove excess space, limit one space between others, and no space before punctuation marks. * For example, 'Trendy , ...

11 mesi ago