Community Profile

photo

LH


Last seen: 12 Tage vor Aktiv seit 2022

Statistiken

  • Thankful Level 3

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


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

27 Tage vor | 1 Antwort | 0

1

Antwort

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

2 Monate vor | 0

| akzeptiert

Frage


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

2 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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

3 Monate vor | 3 Antworten | 0

3

Antworten

Frage


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

5 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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

8 Monate vor | 2 Antworten | 0

2

Antworten

Frage


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

8 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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

9 Monate vor | 5 Antworten | 0

5

Antworten

Frage


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

10 Monate vor | 3 Antworten | 0

3

Antworten

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als ein Jahr vor | 3 Antworten | 0

3

Antworten

Frage


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

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort