Risolto


Convert integer to base26 using letters
Write a function that converts a decimal integer to base26 using the letters of the english alphabet, i.e. 0->'a', 1->'b', 2->'c...

oltre 10 anni fa

Risolto


P-smooth numbers
This Challenge is to find <https://en.wikipedia.org/wiki/Smooth_number P-smooth number> partial sets given P and a max series va...

oltre 10 anni fa

Risolto


Determine the full width at half max
Determine the full width at half max of a curve. The full width at half maximum (FWHM) is a parameter which is used for desc...

oltre 10 anni fa

Risolto


Odd elimination
Inspired by Project Euler problem #539 You'll be given a vector from 1 to n; Going from left to right, remove the first n...

oltre 10 anni fa

Risolto


Matrix diagonalization
You will be given Two matrices A and B. Return 1 if B is the diagonal matrix of A, 0 otherwise

oltre 10 anni fa

Risolto


Find the nearest prime
Given a positive integer 'n', the task is to find a prime number greater than or equal to 'n'. Example 1 If given 'n' is ...

oltre 10 anni fa

Risolto


Why?
Why has been a major question throughout history; why did Napoleon fail, why do we exist, why must I work a pageant, to name a f...

oltre 10 anni fa

Risolto


Spherical Volume
Calculate the volume of a sphere.

oltre 10 anni fa

Risolto


easy multipliation
return y to be equal to 2 * x

oltre 10 anni fa

Risolto


Find C in a right triangle
Given a right triangle A and B. Find C is hyponutuse

oltre 10 anni fa

Risolto


Fun with a compass
Each night for the past week, you have been having the same nightmare: You find yourself back in your junior high school geometr...

oltre 10 anni fa

Risolto


Convert from integer to binary
if true % decimalToBinaryVector(x) end

oltre 10 anni fa

Risolto


Average Grade
Given a 1x5 vector presents the grades of a student on five tests. Calculate the average grade of that student.

oltre 10 anni fa

Risolto


Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

oltre 10 anni fa

Risolto


Volume of a cylinder
Find Volume of cylinder with the given radius and height.

quasi 11 anni fa

Risolto


Find Month & day for given day number of a year
Find Month & day for given day number of a year (day number is any number ranging from 1 to 366)

quasi 11 anni fa

Risolto


Number of occurrences of letter in a text
Given an input text either as a string or as a cell array of strings, return a (1 x 26) matrix containing the number of occurren...

quasi 11 anni fa

Risolto


Throw common elements of two vector arrays
Throw common elements as output of two given input vector arrays

quasi 11 anni fa

Risolto


Throw common elements of two vector arrays in sorted manner
Throw common elements as output in sorted manner (acending order) of two given input vector arrays

quasi 11 anni fa

Risolto


sparse_matrix
You convert a vector to a sparse matrix. for example *x* =[1 2 3]; output will be *y* = [1 0 0 ...

quasi 11 anni fa

Risolto


Is It a Snake?
Given an m-by-n matrix, return true if the elements of the matrix are a connected "snake" shape from 1 to m*n. Otherwise return ...

quasi 11 anni fa

Risolto


Sum of Matrix
Sum of Matrix

quasi 11 anni fa

Risolto


Step up
For given input array, output a array with all elements step up by two

quasi 11 anni fa

Risolto


Sum of elements of array
Sum of elements of array

quasi 11 anni fa

Risolto


Find elements of set A those are not in set B
Given two sets of data A and B. Find elements of A those are not in set B. ...

quasi 11 anni fa

Risolto


prime to each other
Given two integers n1, n2 greater than 1, find out if they are prime to each other.

quasi 11 anni fa

Risolto


multiple of nine?
Given a positive number n, return true if n is a multiple of 9 and false if not. Do not make the division and do not use functio...

quasi 11 anni fa

Risolto


Replace secondary diagonal elements of a square array
Replace all the secondary diagonal elements of the square array A with the number n Example: A = [1 2 3 4 5 6 ...

quasi 11 anni fa

Risolto


Distance a ball travels after throwing vertically
Calculate the total distance *'d'* (in meters) a ball would travel after *'s'* seconds and starting velocity of *'v'* (in m/s). ...

quasi 11 anni fa

Risolto


Polynomial Evaluation
Create a routine that takes a list of coefficients of a polynomial in order of increasing powers of x; together with a value of ...

quasi 11 anni fa

Carica altro