Risolto


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

circa un anno fa

Risolto


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

circa un anno fa

Risolto


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

circa un anno fa

Risolto


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

circa un anno fa

Risolto


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

circa un anno fa

Problema


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

circa un anno fa | 1 | 23 risolutori

Risolto


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

circa un anno fa

Problema


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

circa un anno fa | 1 | 27 risolutori

Risolto


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

circa un anno fa

Problema


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

circa un anno fa | 1 | 28 risolutori

Risolto


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

circa un anno fa

Problema


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

circa un anno fa | 1 | 22 risolutori

Risolto


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

circa un anno fa

Problema


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

circa un anno fa | 1 | 34 risolutori

Risolto


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

circa un anno fa

Problema


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

circa un anno fa | 1 | 38 risolutori

Risolto


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

circa un anno fa

Problema


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

circa un anno fa | 1 | 35 risolutori

Risolto


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

circa un anno fa

Problema


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

circa un anno fa | 1 | 44 risolutori

Risolto


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

circa un anno fa

Problema


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

circa un anno fa | 1 | 46 risolutori

Risolto


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

circa un anno fa

Problema


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

circa un anno fa | 1 | 54 risolutori

Risolto


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

circa un anno fa

Risolto


kmph to mps
convert kilometer per hour to meter per second

circa un anno fa

Risolto


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

circa un anno fa

Risolto


Temperature Conversion 2

circa un anno fa

Risolto


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

circa un anno fa

Risolto


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

circa un anno fa

Carica altro