Solved


Values in Array
How many values are in the array

1 year ago

Solved


COUNT VOWEL
Count, how many times vowels occurred. EXAMPLE: x='string the MaTLaBiAn' then the answer will be 6. x='coUnt the vowEl' th...

1 year ago

Solved


union without repitition
Let a = [9 9 9 9 9 9 8 8 8 8 7 7 7 6 6 6 5 5 4 2 1] b = [1 1 1 3 3 3 3 3 4 4 4 4 4 10 10 10] Output should be [9 8...

1 year ago

Solved


Resizing Matrices
Take an 4x3 matrix, and resize it to a 2x6 matrix

1 year ago

Solved


Sort a vector

1 year ago

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

Load more