Gelöst


Return fibonacci sequence do not use loop and condition
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: ...

etwa ein Jahr vor

Gelöst


Number of Even Elements in Fibonacci Sequence
Find how many even Fibonacci numbers are available in the first d numbers. Consider the following first 14 numbers 1 1 2...

etwa ein Jahr vor

Gelöst


Fibonacci-Sum of Squares
Given the Fibonacci sequence defined by the following recursive relation, * F(n) = F(n-1) + F(n-2) * where F(1) = 1 and F(1)...

etwa ein Jahr vor

Gelöst


Replace multiples of 5 with NaN
It is required to replace all values in a vector that are multiples of 5 with NaN. Example: input: x = [1 2 5 12 10 7] ...

etwa ein Jahr 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. Use Matlab funct...

etwa ein Jahr vor

Problem


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. Use Matlab funct...

etwa ein Jahr vor | 1 | 23 Lösungsvorschläge

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

etwa ein Jahr vor

Problem


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

etwa ein Jahr vor | 1 | 27 Lösungsvorschläge

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

etwa ein Jahr vor

Problem


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

etwa ein Jahr vor | 1 | 28 Lösungsvorschläge

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

etwa ein Jahr vor

Problem


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

etwa ein Jahr vor | 1 | 22 Lösungsvorschläge

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

etwa ein Jahr vor

Problem


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

etwa ein Jahr vor | 1 | 34 Lösungsvorschläge

Gelöst


Mesh the square with triangles
Problem statement An square is a regular polygon with 4 vertices and 4 edges. Here below is an example of the vertex set V, c...

etwa ein Jahr vor

Problem


Mesh the square with triangles
Problem statement An square is a regular polygon with 4 vertices and 4 edges. Here below is an example of the vertex set V, c...

etwa ein Jahr vor | 1 | 39 Lösungsvorschläge

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

etwa ein Jahr vor

Problem


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

etwa ein Jahr vor | 1 | 35 Lösungsvorschläge

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

etwa ein Jahr vor

Problem


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

etwa ein Jahr vor | 1 | 44 Lösungsvorschläge

Gelöst


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

etwa ein Jahr vor

Problem


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

etwa ein Jahr vor | 1 | 46 Lösungsvorschläge

Gelöst


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

etwa ein Jahr vor

Problem


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

etwa ein Jahr vor | 1 | 54 Lösungsvorschläge

Gelöst


Permute diagonal and antidiagonal
Permute diagonal and antidiagonal For example [1 2 3;4 5 6;7 8 9] -> [3 2 1;4 5 6;9 8 7] WITHOUT diag function (and variable n...

etwa ein Jahr vor

Gelöst


kmph to mps
convert kilometer per hour to meter per second

etwa ein Jahr vor

Gelöst


Determine Whether an array is empty
Input a matrix x, output y is TRUE if x is empty, otherwise FALSE.

etwa ein Jahr vor

Gelöst


Temperature Conversion 2

etwa ein Jahr vor

Gelöst


Symmetric Pair
Given an (n, 2) matrix, remove any symmetric pairs from the matrix. Keep the first occurrence. (2, 3) and (3, 2) are considere...

etwa ein Jahr vor

Gelöst


Determine the number of odd integers in a vector
Determine the number of unique odd integers in a vector. Examples: Input x = [2 5 8 3 7 1]; Output y = 4; Inp...

etwa ein Jahr vor

Mehr laden