Gelöst


Build triangulation from -sorted- edge list
Problem statement An edge list is simply a N x 2 matrix of positive integers, in which N is the number of edges and each intege...

9 Monate vor

Gelöst


Mesh the convex hull of a random 3D point cloud
Problem statement The convex hull of a 3D point set is actually a first -though rough- triangulation of it. A triangulation,...

9 Monate vor

Gelöst


Mesh the icosahedron
Problem statement An icosahedron is a regular polyhedron with 12 vertices and 20 triangular faces. It is also one of the five...

9 Monate vor

Gelöst


Mesh the dodecahedron
Problem statement An dodecahedron is a regular polyhedron with 20 vertices and 12 pentagonal faces. It is also one of the fiv...

9 Monate vor

Gelöst


Check Euler's characteristic on regular polyhedra
Problem statement Given the number of vertices and the number of faces of a given regular polyhedron, compute the number of its...

9 Monate vor

Gelöst


Mesh the square with triangles
Problem statement An square is a regular polygon with 4 vertices and 4 edges. A triangulated mesh T (stands for triangles he...

9 Monate vor

Gelöst


Mesh the pentagon (with the minimum number of triangles)
Problem statement An pentagon is a regular polygon with 5 vertices and 5 edges. Here below is an example of the vertex set V,...

9 Monate vor

Gelöst


Mesh the tetrahedron
Problem statement An tetrahedron is a regular polyhedron with 4 vertices and 4 triangular faces. It is also one of the five w...

9 Monate vor

Gelöst


Mesh the cube
Problem statement : mesh the cube with quadranglar / squared faces An cube / regular hexahedron is a regular polyhedron with ...

9 Monate vor

Gelöst


Mesh the octahedron
Problem statement An octahedron is a regular polyhedron with 6 vertices and 8 triangular faces. It is also one of the five we...

9 Monate vor

Gelöst


P(girl likes you | she smiled at you)
Compute the probability Given the input probabilities

10 Monate vor

Gelöst


My wife's logic
Its is always the opposite of the causality law, that is to say the opposite of the implication relationship in math/logic terms...

10 Monate vor

Gelöst


Ulam primes second formula
Historical context The polish-american mathematician Stanislaw Ulam found the formula to give some prime numbers not given...

10 Monate vor

Gelöst


Ulam primes first formula
Historical context The polish-american mathematician Stanislaw Ulam found the formula to give the first 760 prime numbers ...

10 Monate vor

Gelöst


Euler primes
Historical context The great swiss mathematician Leonhard Euler found the formula to give some prime numbers. Problem...

10 Monate vor

Gelöst


Frequencies of prime gaps
Problem statement Given two positive integers n and , write a function which computes the frequency of the gap between two ...

10 Monate vor

Gelöst


Find the first occurence of a given gap between two consecutive prime numbers
Problem statement Given a gap = p' - p between the two consecutive prime numbers p and p', find its first occurence, f. E...

10 Monate vor

Gelöst


Prime numbers which are the difference of two consecutive cubes
Problem statement Given a positive integer n greater than 2, find the prime numbers less or equal to n and which are the diff...

10 Monate vor

Gelöst


Area under the curve
Compute area under the curve specified by points stored in y, where y is in range (0,inf) and x time step is 1. note: please r...

10 Monate vor

Gelöst


Cell Operator *
Please implement operator * for cell: >> {2,3} * 2 ans = 1×4 cell array [2] [3] [2] [3] >> {2,3} * [2 3]...

10 Monate vor

Gelöst


Check availability of a number in an array
An array is given A=[1 2 3 4 5 7 8 9 10]. Find whether the number n is present in given array or not. If the number n is prese...

10 Monate vor

Gelöst


Return the middle element of an NxN square matrix where N is odd
Let's say you are given an NxN square matrix where N is always going to be an odd number: x = [ 1 2 3 4 5 6 7 8 ...

10 Monate vor

Gelöst


Simple Income Tax

10 Monate vor

Gelöst


Draw a Diamond shape in ones Matrix with '0' s
Input will be odd numbers.The task is to make a Diamond shape in a ones matrix with '0's where the matrix will be a square matri...

10 Monate vor

Gelöst


Can the given sides form a triangle?
Can the three given sides form a triangle?

10 Monate vor

Gelöst


Find the index of nth maximum of a row vector of real numbers
Given a vector of real numbers x, find the index idx of _n_ th maximum value. If nth maximum occurs more than once, return the i...

10 Monate vor

Gelöst


Person of interest?
given a person_of_interest, what is his_name?

10 Monate vor

Gelöst


How many hours are there in a day in Italy?
Remember "European Summer Time"

10 Monate vor

Gelöst


Repetition of matrices
*A is a bold matrix: [1 2 3; 4 5 6;7 8 9]* Given an integer 'n' , a matrix B exists such that has n copies of A in the row an...

10 Monate vor

Gelöst


Wrap-around effect
In vector x of length n we define (n+1) position as going back to the first position (so called wrap-around effect). Can you ret...

10 Monate vor

Mehr laden