Resuelto


Find a common edge
First input is T, a triplet list of indices. Second input is e = [e1 e2], a row vector, couple of indices (positive distinct int...

8 meses hace

Resuelto


Sophie Germain prime
In number theory, a prime number p is a *Sophie Germain prime* if 2p + 1 is also prime. For example, 23 is a Sophie Germain prim...

8 meses hace

Resuelto


Circular Primes (based on Project Euler, problem 35)
The number, 197, is called a circular prime because all rotations of the digits: 197, 971, and 719, are themselves prime. The...

8 meses hace

Resuelto


Largest Twin Primes
<http://en.wikipedia.org/wiki/Twin_prime Twin primes> are primes p1, p2 = p1 + 2 such that both p1 and p2 are prime numbers. Giv...

8 meses hace

Resuelto


Project Euler: Problem 7, Nth prime
By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13. What is the Nth prime numb...

8 meses hace

Resuelto


Mersenne Primes vs. All Primes
A Mersenne prime (M) is a prime number of the form M = 2^p - 1, where p is another prime number. <https://www.mathworks.com/matl...

8 meses hace

Resuelto


Mersenne Primes
A Mersenne prime is a prime number of the form M = 2^p - 1, where p is another prime number. For example, 31 is a Mersenne prim...

8 meses hace

Resuelto


Make a vector of prime numbers
Input(n) - length of vector with prime numbers Output(v) - vector of prime numbers Example: * n=1; v=2 * n=3; v=[2 3 5...

8 meses hace

Resuelto


Find the next prime number
Find the next prime number or numbers for given n. For example: n = 1; out = 2; or n = [5 7]; out = [7 11]; ...

8 meses hace

Resuelto


Find nearest prime number less than input number
Find nearest prime number less than input number. For example: if the input number is 125, then the nearest prime number whi...

8 meses hace

Resuelto


Quote Doubler
Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...

12 meses hace

Resuelto


De-dupe
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...

12 meses hace

Enviada


Point set processing toolbox
Some useful tools for point set processing

12 meses hace | 1 descarga |

5.0 / 5
Thumbnail

Enviada


Freeman chain code and bw image processing sparing tools
Freeman chain code for binary image processing

alrededor de 1 año hace | 7 descargas |

5.0 / 5
Thumbnail

Poll


How long (T) have you been using Matlab for ?

más de 1 año hace | 10172 votes | 8 comments

Enviada


Mesh Reuleaux tetrahedron
Function to compute, display, and save the mesh of a Reuleaux tetrahedron

más de 1 año hace | 1 descarga |

0.0 / 5
Thumbnail

Poll


What does MATLAB acronym stands for ?

más de 1 año hace | 32 votes | 1 comments

Enviada


Is_point_on_segment [FAST]
Function to compute if a point M belongs or not to a given [AB] segment of the 2D or 3D space. Also handles multiple points M to...

más de 1 año hace | 1 descarga |

0.0 / 5
Thumbnail

Poll


Where did you first use Matlab ?

más de 1 año hace | 33 votes | 0 comments

Pregunta


Solution for using rowfun but with a function handle ?
Hi, I want to apply my own function to every row of a numeric matrix. I currently use cellfun but the need for conversion fro...

más de 1 año hace | 1 respuesta | 0

1

respuesta

Enviada


Discrete 2D shape -morpho-logical operators [FAST]
Basic logical operators (intersection, union, xor) between discrete 2D shapes. Works for convex or non convex shapes.

más de 1 año hace | 1 descarga |

0.0 / 5
Thumbnail

Enviada


Isprime optimus [FAST]
Primality test using isprime Matlab(r) stock function, but ~60% faster for vectors.

más de 1 año hace | 2 descargas |

0.0 / 5
Thumbnail

Enviada


Black hole animations
Two functions to create .gif animations of a black holes with the paths of an object passing throught their horizons.

más de 1 año hace | 2 descargas |

5.0 / 5
Thumbnail

Enviada


Sierpinski ball
Function to compute, display, and save the Sierpinski ball (fractal sponge) based on the regular octahedron. Help, doc and examp...

más de 1 año hace | 1 descarga |

0.0 / 5
Thumbnail

Enviada


Sphere homeomorphic surface quasi isotropic sampling
Quasi isotropic sampling, random or regular (+mesh), for a sphere homeomorphic surfaces. Help, doc and examples included.

más de 1 año hace | 2 descargas |

0.0 / 5
Thumbnail

Enviada


Torus homeomorphic surface quasi isotropic sampling
Quasi isotropic sampling, random or regular (+mesh), for torus homeomorphic surfaces. Help doc and examples included.

más de 1 año hace | 1 descarga |

5.0 / 5
Thumbnail

Enviada


LISA orbitography gif animation
Functions to build an animation of LISA space interferometer project path following Earth in the solar system.

más de 1 año hace | 1 descarga |

0.0 / 5
Thumbnail

Enviada


Sierpinski cuboctahedron
Function to compute, display, and save the Sierpinski cuboctahedron, at any iteration. Help and doc included.

más de 1 año hace | 1 descarga |

0.0 / 5
Thumbnail

Enviada


Galaxy model
A function to compute and display a galaxy point cloud (spiral or elliptic), with some tunable parameters (shape, number of arms...

más de 1 año hace | 1 descarga |

0.0 / 5
Thumbnail

Enviada


Sierpinski icosahedron
Function to compute, display, and save the Sierpinski icosahedron at any iateration / depth level.

más de 1 año hace | 1 descarga |

0.0 / 5
Thumbnail

Cargar más