Gelöst


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

mehr als ein Jahr vor

Gelöst


Sum multiples

mehr als ein Jahr vor

Gelöst


F-score

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


Mean Square Error

mehr als ein Jahr vor

Gelöst


Divisors

mehr als ein Jahr vor

Gelöst


Taxicab distance

mehr als ein Jahr vor

Gelöst


Taxi vs Euclides

mehr als ein Jahr vor

Gelöst


Minkowski distance

mehr als ein Jahr vor

Gelöst


Highest building

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

mehr als ein Jahr vor

Gelöst


ascii value
let input='a' output=97

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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]

mehr als ein Jahr vor

Gelöst


Transpose of matrix
Transpose of matrix as per test cases

mehr als ein Jahr vor

Gelöst


Number Puzzle - 061

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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;

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


Lateral Area of a Right Rectangular Pyramid

mehr als ein Jahr vor

Mehr laden