Problème


Check if any duplicates in your data
Given an array x, return a number n equal to the largest number of repetitions in your data. For example: If x=[1 2 3 6 8 4 9]...

plus de 6 ans il y a | 1 | 49 solveurs

A résolu


Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

plus de 6 ans il y a

A résolu


Find the outlier in a set of samples
Given an array x of numbers. Assumed that this array has one outlier. Find the position p and the value v of the outlier in this...

plus de 6 ans il y a

Problème


Find the outlier in a set of samples
Given an array x of numbers. Assumed that this array has one outlier. Find the position p and the value v of the outlier in this...

plus de 6 ans il y a | 1 | 45 solveurs

A résolu


Given n, create n random numbers such that their standard deviation is also n.
Given n, create n random numbers such that their standard deviation is also n.

plus de 6 ans il y a

Problème


Given n, create n random numbers such that their standard deviation is also n.
Given n, create n random numbers such that their standard deviation is also n.

plus de 6 ans il y a | 3 | 85 solveurs

A résolu


Simple spirometer - find your lung capacity from number and size of soap bubbles in one breath
Assumed that each bubble has practically the same diameter d. Given total number n of bubbles. Find volume v of breath.

plus de 6 ans il y a

Problème


Simple spirometer - find your lung capacity from number and size of soap bubbles in one breath
Assumed that each bubble has practically the same diameter d. Given total number n of bubbles. Find volume v of breath.

plus de 6 ans il y a | 0 | 39 solveurs

A résolu


area of an annulus
Given the diameter d of the inner circle of the annulus. Given length z of a chord of the outer circle of the annulus. This chor...

plus de 6 ans il y a

Problème


area of an annulus
Given the diameter d of the inner circle of the annulus. Given length z of a chord of the outer circle of the annulus. This chor...

plus de 6 ans il y a | 1 | 51 solveurs

A résolu


Given a square and a circle, please decide whether the square covers more area.
You know the side of a square and the diameter of a circle, please decide whether the square covers more area.

plus de 6 ans il y a

Problème


Given a square and a circle, please decide whether the square covers more area.
You know the side of a square and the diameter of a circle, please decide whether the square covers more area.

plus de 6 ans il y a | 6 | 778 solveurs

A résolu


Generate one sample of uniform random numbers between -pi and +pi
Generate one sample of uniform random numbers between -pi and +pi.

plus de 6 ans il y a

Problème


Generate one sample of uniform random numbers between -pi and +pi
Generate one sample of uniform random numbers between -pi and +pi.

plus de 6 ans il y a | 1 | 39 solveurs

A résolu


0<=x<=pi?
Check whether the given angle is between zero and pi. Return logical true or false.

plus de 6 ans il y a

Problème


0<=x<=pi?
Check whether the given angle is between zero and pi. Return logical true or false.

plus de 6 ans il y a | 0 | 130 solveurs

A résolu


Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

plus de 6 ans il y a

A soumis


MATLAB demo of Magic Circle TRIGONOMETRIC calculation with simple and easy arithmetic
Progressively calculates sin and cos values along a circle.

environ 10 ans il y a | 1 téléchargement |

Thumbnail

A résolu


How many jokers?
* Given DNA codes of a group of suspects, * and a code for certain types of jokers, * Count how many jokers of that type. * ...

presque 11 ans il y a

Problème


How many jokers?
* Given DNA codes of a group of suspects, * and a code for certain types of jokers, * Count how many jokers of that type. * ...

presque 11 ans il y a | 2 | 262 solveurs

Problème


Vector LCM
* Find Least Common Multiple of a given vector. * Need general solution as the test suite will be expanded. * Function Templa...

plus de 11 ans il y a | 1 | 90 solveurs

A résolu


Vector LCM
* Find Least Common Multiple of a given vector. * Need general solution as the test suite will be expanded. * Function Templa...

plus de 11 ans il y a

Problème


Array GCD
* Find Greatest Common Divisor in a given array * Function Template: function ans = arraygcd(a) % a=[45 15 200 ...

plus de 11 ans il y a | 0 | 104 solveurs

A résolu


Array GCD
* Find Greatest Common Divisor in a given array * Function Template: function ans = arraygcd(a) % a=[45 15 200 ...

plus de 11 ans il y a

Problème


Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];

presque 12 ans il y a | 8 | 1592 solveurs

A résolu


Multiply a column by a row
* Given a column vector C and and a row vector R. * Output a matrix M. * Every column of M equals to C multiplied by correspon...

presque 12 ans il y a

Problème


Multiply a column by a row
* Given a column vector C and and a row vector R. * Output a matrix M. * Every column of M equals to C multiplied by correspon...

presque 12 ans il y a | 4 | 762 solveurs

Problème


How to add?
* Imagine you are in 2222 Anno Domini, when everyone must learn how to add, * and competing for the highly prestigious post of,...

presque 12 ans il y a | 8 | 129 solveurs

A résolu


Find best domino orientation
Given a list of pairs, find the orientation they should be placed in a line, such that the sum of the absolute values of the dif...

presque 12 ans il y a

A résolu


Rotate and display numbered tile
Imagine a square tile with four numbers on it, one on each edge. We will call these edges north, east, south, and west. If th...

presque 12 ans il y a

Charger plus