LH
Followers: 0 Following: 0
Statistiques
RANG
213 517
of 295 467
RÉPUTATION
0
CONTRIBUTIONS
24 Questions
2 Réponses
ACCEPTATION DE VOS RÉPONSES
75.0%
VOTES REÇUS
0
RANG
of 20 234
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
RANG
of 153 912
CONTRIBUTIONS
0 Problèmes
0 Solutions
SCORE
0
NOMBRE DE BADGES
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
Question
Re-index a vector based on the indices of another vector
Hi all, I have a vector : A = [1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 1 1 2 2 1 1 3 3 1 1 3 3 1 1 3 3 1 1 3 3 1 2 1 4]; whe...
21 jours il y a | 2 réponses | 0
2
réponsesQuestion
sorting values of a matrix column when the other column has the same value
Hi all, I have a matrix that has two columns as following: A = [0.1 0.1 ; 0.1 -0.3 ; 0.1 0.5 ; 0.1 0; 0.1 -0.5; 0.1 -0.1; 0.1 ...
4 mois il y a | 1 réponse | 0
1
réponseQuestion
indexing groups of elements in a vector in a certain way
Hi all, I have two vectors and where they look like the following: %vector A A = [1 1 4 1 5 1 6 1 5 2 ...
4 mois il y a | 1 réponse | 0
1
réponseQuestion
re-indexing slices of a matrix
Hi all, I have a matrix where its second column represents the index of each row. I want to replace these values so that they ...
4 mois il y a | 1 réponse | 0
1
réponseQuestion
count number of elements for each slice of a vector
Hi all, I have the folloiwng vector: A = [2 1; 3 1; 4 2; 5 2; 6 2; 7 1; 8 1 ; 7 1; 5 2...
5 mois il y a | 1 réponse | 0
1
réponseextract multiple slices of difference sizes from a vector
I think I have solved it: A = [1 4 6 5 4 8 7 8 6 4]'; groups = 3; end_count = cumsum(num(:)); for i = 1:groups if...
5 mois il y a | 0
Question
extract multiple slices of difference sizes from a vector
Hi all, I have a vector of the shape: A = [1 4 6 5 4 8 7 8 6 4]; and I want to split this vector into slices. The number of ...
5 mois il y a | 2 réponses | 0
2
réponsesQuestion
Rename the indices of a vector in a certain way.
Hi all, My code below has a vector and its index vector . It goes throguh the elements of and when it finds a zero element, i...
5 mois il y a | 1 réponse | 0
1
réponseQuestion
Extract the indices based on the minimum absolute value
Hi all, I have two matrices: and . Each row of matrix has an identifier (index). I want to get the identifiers of each row o...
5 mois il y a | 2 réponses | 0
2
réponsesQuestion
Assign 3d points to multiple cluster when their coordinates meet certain conditions
Hi all, I am trying to assign each point of the 3D dataset I have to the "correct" cluster based on certain conditions. The cod...
7 mois il y a | 1 réponse | 0
1
réponseQuestion
Vector sliding average over different number of points
Hi all, I have a number of blocks, to be exact, and inside each block there is a certain number of points. The number of point...
8 mois il y a | 1 réponse | 0
1
réponseFinding out the mesh indices of randomly generated points
Thanks for your help and suggestions. I think I have solved this. % Find out the cell index of each row on DATA [~, ~, ~, bin...
10 mois il y a | 0
| A accepté
Question
Finding out the mesh indices of randomly generated points
Hi, I want to find out where does each point from the randomly generated list belong in the pre-defined mesh grid of and . The...
10 mois il y a | 1 réponse | 0
1
réponseQuestion
Calculate angles correctly between two vectors using the dot product.
Hi all, As shown below in the figure, I have two vectors, and , and I want to calculate the angle with the norm, and, between e...
11 mois il y a | 3 réponses | 0
3
réponsesQuestion
Go around matrices/vectors columns
Hi all, If I have a point on one of a pentagon edges, say , and I want to calculate the vectors coorindates between this point ...
environ un an il y a | 1 réponse | 0
1
réponseQuestion
calculate the averages of non-squared matrix blocks
Hi, I have a non-squared matrix with a dimension of and I would like to calculate the averages of each block so I can get a ...
environ un an il y a | 2 réponses | 0
2
réponsesQuestion
Reshape matrix dimensions to a larger and sparse one
Hi all, I have matrix with dimensions . I have also a sparse matrix with dimensions with different elements. I'd like to ch...
plus d'un an il y a | 1 réponse | 0
1
réponseQuestion
Calculate the average of each matrix block
Hi, I have a square matrix as shown below in my code and I would like to ocalculate the averge of each block of it. My code i...
plus d'un an il y a | 5 réponses | 0
5
réponsesQuestion
Calculate the average of a matrix
Hi, I have a square matrix with dimension . I want to take average of all elements inside each block that includes 4 horizontal...
plus d'un an il y a | 3 réponses | 0
3
réponsesQuestion
Name points on a plot based on their order
Hi, I have the follwoing points: %define points ri = [0.3 0.1 ; 0.7 0.1 ; 0.5 0.3 ; 0.1 0.3 ; 0.1 0.7 ; ...
presque 2 ans il y a | 1 réponse | 0
1
réponseQuestion
shift a block of rows to the end of a matrix
Hi, Suppose I have a matrix: A = [0 0.2000; 0 0.1578; 0 0.0721; 0 0; 0 0; ...
environ 2 ans il y a | 1 réponse | 0
1
réponseQuestion
anticlockwise points coordinates sorting
Hi, I have the follwoing points cooridnates: A = [0 0 ; 1 0.2; 0 1 ; 0 0.6; 1 0 ; 1 1 ; 0.6...
environ 2 ans il y a | 1 réponse | 0
1
réponseQuestion
sort a matrix in a specific way
Hi, I have two matrices that correspond to points coordinates and I want to sort their concatenation in a way illustrated below...
environ 2 ans il y a | 2 réponses | 0
2
réponsesQuestion
Add indicative labels to vector values
Hi, If I have two vectors: A1 = [ 1 ; 2 ; 3 ]; A2 = [ 4 ; 5 ; 6 ]; Concatenating these two vectors gives: A = [A1 ; A2]; ...
environ 2 ans il y a | 3 réponses | 0
3
réponsesQuestion
Extract rows that their columns have specific values
Hi, I have the following matrix: A = [ 0.1 0 ; 0.5 0 ; 3 0 ; 0 0 ] and I want to extract the row...
environ 2 ans il y a | 2 réponses | 0
2
réponsesQuestion
Slope of line intersecting with y axis
Hi, I am trying to caluclate the slope of a line intersecting with one of the axes. I do understand that, as shown in the figur...
environ 2 ans il y a | 1 réponse | 0