Gelöst


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

11 Monate vor

Gelöst


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

11 Monate vor

Gelöst


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

11 Monate vor

Gesendet


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

11 Monate vor | 1 Download |

Thumbnail

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

11 Monate vor | 0

Frage


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

11 Monate vor | 5 Antworten | 0

5

Antworten

Gesendet


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

etwa ein Jahr vor | 1 Download |

Thumbnail

Gesendet


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

etwa ein Jahr vor | 1 Download |

Thumbnail

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

mehr als ein Jahr vor | 0

Gesendet


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

mehr als ein Jahr vor | 3 Downloads |

Thumbnail

Gesendet


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

mehr als ein Jahr vor | 2 Downloads |

Thumbnail

Frage


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

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Beantwortet
Rendering problem with surf and trisurf
Any clue ? Thank you.

mehr als ein Jahr vor | 0

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Gesendet


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

fast 2 Jahre vor | 2 Downloads |

Thumbnail

Gelöst


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

fast 2 Jahre vor

Gelöst


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.

fast 2 Jahre vor

Gesendet


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

fast 2 Jahre vor | 2 Downloads |

Thumbnail

Gelöst


Build edges list
Input T is a triangulation connectivity indices list (triplet list of indices -positive integers-, each index refering to a vert...

fast 2 Jahre vor

Gelöst


List every vertices neighbor indices
Input T is a <https://fr.mathworks.com/help/matlab/ref/triangulation.html triangulation>. The purpose of this function is to ...

fast 2 Jahre vor

Gelöst


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

fast 2 Jahre vor

Gelöst


Remove duplicated triangles
Input T is a triangulation (triplet list of indices -positive integers-, each index refering to a vertex number in a correspondi...

fast 2 Jahre vor

Gelöst


Find neighbor triangle indices
First input T is a triangulation (triplet list of indices -positive integers-, each index refering to a vertex number in a corre...

fast 2 Jahre vor

Gelöst


Find edges from a vertex
First input is T, a triplet list of indices. Second input is i, a single index (positive integer). The goal of this function is ...

fast 2 Jahre vor

Beantwortet
Comment générer un vecteur content N valeur binaire dont 10% de ces valeurs sont égales à 1
Salut, Alors déjà si tu veux exactement 10% ça va bien sûr dépendre de la taille de ton vecteur (si celui-ci possède moins de 1...

fast 2 Jahre vor | 0

Beantwortet
plotting spectrogram for 3d matrix
As Marco said, spectrogram takes a vector as input, not matrix. However depending on how your signals are stored in your data ma...

fast 2 Jahre vor | 0

Gelöst


Spherical radius given four points
Determine the radius of a sphere provided four non-coplanar points on the surface of the sphere. pts = [x1 y1 z1; x...

fast 2 Jahre vor

Beantwortet
Are there marker types sensitive to light ?
No answer, so I guess the answer is no (?) Edit : solved, cause actually pretty much the same question as this one.

fast 2 Jahre vor | 0

| akzeptiert

Gelöst


Back to basics 23 - Triangular matrix
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, return a matrix with all elements above a...

fast 2 Jahre vor

Gelöst


Back to basics 21 - Matrix replicating
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, generate an output matrix that consists o...

fast 2 Jahre vor

Mehr laden