A résolu


Construct an index vector from two input vectors in vectorized fashion
Create an index vector defined by two input vectors, one defining the beginnings of one or more index ranges, and the other defi...

plus de 2 ans il y a

A résolu


Fill a zeros matrix
The aim is to fill an array of all zeros given a numerical value and the index of row and columns for this value. 3 Inputs: ...

plus de 2 ans il y a

A résolu


"Low : High - Low : High - Turn around " -- Create a subindices vector
Let two vectors *lo* and *hi* be given. The job is to create a index vector like so idx = [lo(1):hi(1) lo(2):hi(2) ...]...

plus de 2 ans il y a

A résolu


Matrix indexing with two vectors of indices
Given a matrix M and two index vectors a and b, return a row vector x where x(i) = M(a(i),b(i)).

plus de 2 ans il y a

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

plus de 2 ans 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...

plus de 2 ans 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...

plus de 2 ans 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...

plus de 2 ans 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...

plus de 2 ans il y a

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

plus de 2 ans 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 ...

plus de 2 ans il y a | 5 réponses | 0

5

réponses

A soumis


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

presque 3 ans il y a | 1 téléchargement |

0.0 / 5
Thumbnail

A soumis


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

presque 3 ans il y a | 1 téléchargement |

0.0 / 5
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...

presque 3 ans il y a | 0

A soumis


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

presque 3 ans il y a | 2 téléchargements |

0.0 / 5
Thumbnail

A soumis


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

presque 3 ans il y a | 1 téléchargement |

0.0 / 5
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...

presque 3 ans il y a | 2 réponses | 0

2

réponses

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

environ 3 ans 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 ...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

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 de 3 ans 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 de 3 ans il y a

A soumis


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

plus de 3 ans il y a | 1 téléchargement |

0.0 / 5
Thumbnail

A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

Réponse apportée
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...

plus de 3 ans il y a | 0

Réponse apportée
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...

plus de 3 ans il y a | 0

A résolu


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

plus de 3 ans il y a

Charger plus