Risolto


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

9 mesi fa

Risolto


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

9 mesi fa

Risolto


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

9 mesi fa

Risolto


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

9 mesi fa

Risolto


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

9 mesi fa

Risolto


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

9 mesi fa

Risolto


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

9 mesi fa

Risolto


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

9 mesi fa

Risolto


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

9 mesi fa

Risolto


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

9 mesi fa

Risolto


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

circa un anno fa

Risolto


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

circa un anno fa

Inviato


Point set processing toolbox
Some useful tools for point set processing

circa un anno fa | 1 download |

5.0 / 5
Thumbnail

Inviato


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

circa un anno fa | 3 download |

5.0 / 5
Thumbnail

Poll


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

oltre un anno fa | 10172 votes | 8 comments

Inviato


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

oltre un anno fa | 1 download |

0.0 / 5
Thumbnail

Poll


What does MATLAB acronym stands for ?

oltre un anno fa | 32 votes | 1 comments

Inviato


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

oltre un anno fa | 1 download |

0.0 / 5
Thumbnail

Poll


Where did you first use Matlab ?

oltre un anno fa | 33 votes | 0 comments

Domanda


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

oltre un anno fa | 1 risposta | 0

1

risposta

Inviato


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

oltre un anno fa | 1 download |

0.0 / 5
Thumbnail

Inviato


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

oltre un anno fa | 2 download |

0.0 / 5
Thumbnail

Inviato


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

oltre un anno fa | 2 download |

5.0 / 5
Thumbnail

Inviato


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

oltre un anno fa | 1 download |

0.0 / 5
Thumbnail

Inviato


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

oltre un anno fa | 2 download |

0.0 / 5
Thumbnail

Inviato


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

oltre un anno fa | 1 download |

5.0 / 5
Thumbnail

Inviato


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

oltre un anno fa | 1 download |

0.0 / 5
Thumbnail

Inviato


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

oltre un anno fa | 1 download |

0.0 / 5
Thumbnail

Inviato


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

oltre un anno fa | 1 download |

0.0 / 5
Thumbnail

Inviato


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

oltre un anno fa | 1 download |

0.0 / 5
Thumbnail

Carica altro