A résolu


Sum My Indices
Given inputs M and N (in that order), output an MxN matrix whose entries are equal to the sum of their indices. Example input...

7 mois il y a

A résolu


Getting the indices from a matrix
Inspired by Problem 645. Getting the indices from a matrix. Given a matrix A (or a vector), return the indices (always in row...

7 mois il y a

A résolu


First non-zero element in each column
For a given matrix, calculate the index of the first non-zero element in each column. Assuming a column with all elements zero i...

7 mois il y a

A résolu


Replicate elements in vectors
Replicate each element of a row vector (with NaN) a constant number of times. Examples n=2, A=[1 2 3] -> [1 1 2 2 3 3] ...

7 mois il y a

A résolu


Set the array elements whose value is 13 to 0
Input A either an array or a vector (which can be empty) Output B will be the same size as A . All elements of A equal to 13...

7 mois il y a

A résolu


Getting logical indexes
This is a basic MATLAB operation. It is for instructional purposes. --- Logical indexing works like this. thresh = 4...

7 mois il y a

A soumis


Isprime optimus [FAST]
Primality test using isprime Matlab(r) stock function, but ~60% faster. Based on Nicolas Douillet 'Christmas eve prime squares e...

7 mois il y a | 1 téléchargement |

Thumbnail

A soumis


alGolbach
Algorithm to compute and list every Goldbach couples of prime numbers which sum equals the given -even- input

7 mois il y a | 1 téléchargement |

Thumbnail

A soumis


Prime numbers spirals
Functions to display prime numbers spiral and prime squares spiral. Also check primes sum and prime squares spiral length.

7 mois il y a | 4 téléchargements |

Thumbnail

Réponse apportée
Quickest way for alternate indexing a vector
Thank you all for your interest and answers :-) I am going to test them, pick the best in my case, and then choose for the co...

7 mois il y a | 0

Question


Quickest way for alternate indexing a vector
Hey, I am looking for the quickest way to create a vector like this : u = [5 7 11 13 17 19 23 25 ...

7 mois il y a | 5 réponses | 0

5

réponses

A soumis


Sample triangle (2D, 3D, ND)
Function to generate a triangular sampling grid of a given triangle

11 mois il y a | 2 téléchargements |

Thumbnail

A soumis


Projective geometry demo
A "pedagogic" demo of projective geometry showing some mathematical objects projections

11 mois il y a | 2 téléchargements |

Thumbnail

A soumis


Mesh ovoid
Function to compute, display, and save a meshed ovoid

11 mois il y a | 2 téléchargements |

Thumbnail

Réponse apportée
Apparent distance conservation in Matlab plot window while rotating 3D objects
Ok I realized I have to be even clearer. I am going to eplore the camera toolbar possibilities -which I didn't really know unti...

11 mois il y a | 0

A soumis


Apollonian gaskets
Function to compute and display the apollonian gasket of any 3D triangle or 3D regular polygon

11 mois il y a | 1 téléchargement |

Thumbnail

A soumis


chat with HAL9000 !
chat with HAL9000 and try to survive it ! ^_^

11 mois il y a | 2 téléchargements |

Thumbnail

A soumis


Meshed Reuleaux tetrahedron
Function to compute, display, and save a meshed Reuleaux tetrahedron

11 mois il y a | 1 téléchargement |

Thumbnail

Question


Apparent distance conservation in Matlab plot window while rotating 3D objects
Hey, When you plot a 3D object in Matlab and turn it around the apparent distance to this object will change, even if you set...

12 mois il y a | 2 réponses | 0

2

réponses

A soumis


Regular polyhedron inscribed sphere
Function to compute and display the inscribed sphere of a regular polyhedron.

environ un an il y a | 1 téléchargement |

Thumbnail

Réponse apportée
Rendering problem with surf and trisurf
Any clue ? Thank you.

environ un an il y a | 0

Question


Rendering problem with surf and trisurf
Hey, When I use surf or trisurf functions to plot a 3D plane made of several ploygons (triangles or squares for instance), I ...

environ un an il y a | 1 réponse | 0

1

réponse

A soumis


isinside2Dset
Function to check if a vertex is located inside or outside a given 2D set.

plus d'un an il y a | 1 téléchargement |

Thumbnail

A soumis


Jerusalem cube
Function to compute, display, and save the Jerusalem cube at any iteration. Help, doc, and examples included.

plus d'un an il y a | 1 téléchargement |

Thumbnail

A soumis


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

plus d'un an il y a | 1 téléchargement |

Thumbnail

A résolu


generate number in particular way
A = [1 5 2 7]; MAX = 10; generate a array Y = [1 2 2 2 2 2 3 3 4 4]; i.e. total eleme...

plus d'un an il y a

A résolu


Find the sum of the elements in the "second" diagonal
Find the sum of the elements in the diagonal that starts at the top-right corner and ends at the bottom-left corner.

plus d'un an il y a

A soumis


3D printable Christmas star
Function to compute, display and save a 3D printable Christmas star.

plus d'un an il y a | 1 téléchargement |

Thumbnail

A soumis


3D printable Koch snowflake
Function to compute, display, and save the triangular base 3D Koch snowflake at any iteration. Help, doc, examples included.

plus d'un an il y a | 2 téléchargements |

Thumbnail

A soumis


Cube base 3D Koch snowflake
Function to compute, display, and save the cube base Koch snowflake, at any iteration. 3D printable ready option. Help, doc, exa...

plus d'un an il y a | 4 téléchargements |

Thumbnail

Charger plus