Question


Repeat coordinates (arranged on the same y and different x) over different values of y
Hi! I need to achieve this by knowing the 'green' coordinates ("row_c") and the repeat intervals ("val"): I tried this way bu...

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

2

réponses

Question


Ordering a matrix as x increases and y increases
Hi. I need to remove repeating nodes inside the 'square' array (I need to get only unique rows without repetition). I tried wi...

6 mois il y a | 1 réponse | 0

1

réponse

A répondu
identify a factor that links two equal matrices but positioned in different places on the same plane
Hi @Voss! I have a question for you, which was then the question of the post. Is there a way to transform RC_transl into RC_ma...

6 mois il y a | 0

Question


creation of a circular plane passing through three nodes and for central node
Hi. I would like to generate a circular plane from three nodes + center nodes. I'm using this code but I don't understand why a...

6 mois il y a | 1 réponse | 0

1

réponse

Question


Identify some nodes near a known node
Is there a way to identify the upper and lower nodes of this geometry by knowing a node? nodes = importdata("NODES.mat"); face...

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

2

réponses

Question


rotate by a certain angle a plane in space around a node P
HI! I have a plane normal to a node (point P) in the figure. line = importdata("line_G.mat"); plane = importdata("plane_G.mat"...

6 mois il y a | 1 réponse | 0

1

réponse

Question


rotate/translate/zoom the two simultaneously generated figures within subplot
Is there any way to rotate/translate/zoom the two simultaneously generated figures? nodes = importdata("NODES.mat"); faces = i...

7 mois il y a | 1 réponse | 0

1

réponse

Question


delete the top and bottom triangular faces of the 3D object
Hi! Is there a way to delete the top and bottom triangular faces of the tube? nodes = importdata("NODES.mat"); faces = importd...

7 mois il y a | 1 réponse | 0

1

réponse

Question


order the rows of the 3 matrices starting from the third coordinate of the point P
Hi! I have to order the rows of the 3 matrices starting from the third coordinate of the point P. A = [28.0445 -17.2717 83.972...

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

2

réponses

Question


identify the coordinates of a point P (1x3) in three distinct matrices
HI! I should identify an identical point P (1x3) within the 3 matrices and in the first 3 columns of these 3 matrices. For exa...

7 mois il y a | 1 réponse | 0

1

réponse

Question


identify a factor that links two equal matrices but positioned in different places on the same plane
I have two matrices ('RC_matlab' and 'RC_trasl') representing the same 2D coordinates of nodes on the same plane but at differen...

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

2

réponses

Question


Cut a 3D object with the IsoCut function present on FileExchange
Hi! I'm using the code HERE to cut a 3D object but I have a problem regarding the cutting plane. I encountered this problem in ...

7 mois il y a | 1 réponse | 0

1

réponse

Question


cut the object in space (separate a 3D object into two distinct parts) using a plane
Hi! Is there any code that allows me to cut the object in space (separate a 3D object into two distinct parts) using a plane? n...

7 mois il y a | 1 réponse | 0

1

réponse

Question


replace characters (like 'n/a') with 0 inside a .txt text file
Hi! I have a txt file like the one attached. Inside there are numbers and sometimes 'n/a' characters. How can I replace 'n/a' wi...

7 mois il y a | 1 réponse | 0

1

réponse

Question


generate a plane that has the coordinates of a 3D matrix as its boundary
Hi. I have coordinates of nodes in space ('C'). I would like to generate a plane that has the coordinates of 'C' as an outline. ...

7 mois il y a | 1 réponse | 0

1

réponse

Question


interpolation of coordinates in space using interp3
Hi! I have this coordinate set (C_new). I would like to add additional coordinates using interpolation. load C_new figure p...

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

2

réponses

Question


calculate the normal for a plane passing through more than three points
Hi! I have a plane passing through three points (triangular plane) and from which I determine the normal. P = [ 0.034488 0.036...

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

4

réponses

Question


create the complete outline of a pie chart characterized by values ​​<1%
Hi! I have a pie chart characterized by a single <1% slice. The graph that is plotted is only the segment as can be seen in the ...

7 mois il y a | 1 réponse | 0

1

réponse

Question


Add nodes (3D) placed at a distance H from starting nodes (3D)
Hi! Is there any way to generate other red coordinates on the same plane and with a distance H = 0.1 from the black coordinates ...

7 mois il y a | 1 réponse | 0

1

réponse

Question


Select only those nodes of an rx3 matrix placed at a distance 'd' from a node P (1x3)
Hi! Is there any way to extract the coordinates of the nodes of the similar circle on the left? I had thought of something rela...

7 mois il y a | 1 réponse | 0

1

réponse

Question


use the 'patch' function with different results (using different matrices)
Hi! I have two matrices: 'V' and 'trace'. Using patches with V generates a completely black surface on the figure and I'm fine...

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

2

réponses

Question


generate new coordinates (starting from initial coordinates) that are arranged outwards (by a distance H) and on the same plane
HI! Is there a way to generate new coordinates, starting from the 'trace' matrix, which are arranged outwards (by a distance H) ...

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

3

réponses

Question


Determine the intersection coordinates between a 3D object and an infinite plane
Hi! I would like to know if there is a way to determine the intersection coordinates between a reported 3D geometry (tube) and a...

7 mois il y a | 1 réponse | 0

1

réponse

Question


double the number of coordinates of a vector while maintaining the trend of the line created with that coordinates
HI! Is there a way to double the number of coordinates while maintaining that trend? load L figure plot3(L(:,1),L(:,2),L(:,3)...

7 mois il y a | 1 réponse | 0

1

réponse

Question


generate triangular mesh starting from the external nodes (rx3) of a circle
HI! I should generate a triangular mesh starting from the external nodes (rx3 matrix) of a circle arranged in space. load('V.ma...

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

2

réponses

Question


create a string like "AA";"BB";"CC";"DD", and so on
Hi! I would like to create a string like "AA";"BB";"CC";"DD",and so on. The idea is similar to this: letters_str = string(mat2...

7 mois il y a | 1 réponse | 0

1

réponse

Question


transform infinite plane into finite circular plane
Is it possible to generate a plan of limited dimensions, for example a 10x10 square? line = importdata("line_w.mat"); normal ...

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

2

réponses

Question


create a normal plane passing through a point P knowing the coordinates of the direction of the Normal vector to point P
HI! Is there a way to create a plane normal to a coordinate of a 'line_test' matrix (e.g. the 'P' coordinate)? If it can be use...

7 mois il y a | 1 réponse | 0

1

réponse

Question


change the legend of a pie chart
Hi. I have the following pie chart: matrix_new = importdata("matrix_new.mat"); % import labels = matrix_new(:,1); percentag...

7 mois il y a | 1 réponse | 0

1

réponse

Question


extract a number N of equally spaced rows within a matrix
HI! I have a number N and a matrix with 100 rows and 2 columns. How can I recover N rows of the matrix so that they are as equi...

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

2

réponses

Charger plus