Solved


Evaluate Polynomial
Given a polynomial equation coefficients in a vector p, you have to return its value at x. Example: For inputs p and x ...

1 year ago

Solved


Sum multiples

1 year ago

Solved


F-score

1 year ago

Solved


Solve the recursion
Solve the recursion: f(n)=f(n-1)+1 + f(n-2)+2. f(1)=4; f(2)=8;

1 year ago

Solved


Mean Square Error

1 year ago

Solved


Divisors

1 year ago

Solved


Taxicab distance

1 year ago

Solved


Taxi vs Euclides

1 year ago

Solved


Minkowski distance

1 year ago

Solved


Highest building

1 year ago

Solved


Merge two integers
We want to merge the digits of two integers having the same number of digits to obtain a new integer whose digits are obtained b...

1 year ago

Solved


Counting the occurrences of a digit in a book
The printer has printed a book with 'p' pages. How many times did they use the character 'd'? In other words, how many times doe...

1 year ago

Solved


Scoring for oriented dominoes
Given a list of ordered pairs, and the order they should be placed in a line, find the sum of the absolute values of the differe...

1 year ago

Solved


THE CALCULATOR OF LOVE
In honor of Valentine's Day, program a love calculator that figures out the percentage of compatibility between two people using...

1 year ago

Solved


Nearest
*Description* Find the value and index of the element in vector _x_ that is nearest to value _y_. _y_ should be able to be a ...

1 year ago

Solved


Golden ratio
Calculate the golden ratio. Hint: phi^2 = phi + 1.

1 year ago

Solved


ASCII Code
Using matlab, give the symbol that is associated with ASCii code 90.

1 year ago

Solved


ASCII code of a leter.
Given the letter, the output will show the corresponding ASCII code.

1 year ago

Solved


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

1 year ago

Solved


ascii value
let input='a' output=97

1 year ago

Solved


Find the mode of the given input
Find the statistical <http://en.wikipedia.org/wiki/Mode_(statistics)/ mode> of the given input. Example: If X is matr...

1 year ago

Solved


Union of two set decreasing order
Union of two set decreasing order Say, x=[1 2 5] and y=[5 7 8] then answer must be [8 7 5 2 1]

1 year ago

Solved


Transpose of matrix
Transpose of matrix as per test cases

1 year ago

Solved


Number Puzzle - 061

1 year ago

Solved


Convert Kilometers to Miles
Convert kilometers to miles. Consider 1 km = 0.62 mile. Note: Don't use the '*' operator.

1 year ago

Solved


Return a list sorted by number of occurrences
Given a vector x, return a vector y of the unique values in x sorted by the number of occurrences in x. Ties are resolved by a ...

1 year ago

Solved


Building matrices
If you have matrix A, create matrix B using matrix A as an "element" A = [1 2 3 4; 5 6 7 8...

1 year ago

Solved


Basic commands - Least common multiple
Make a function which will return least common multiple of "a" and "b" Example: a=8; b=6; y=24;

1 year ago

Solved


Change string to number
Change given string to number. (hint: there is already function) Changing from ['1234'] to [1234] is one of example

1 year ago

Load more