# Alberto Acri

Last seen: 2 days ago Active since 2020

Followers: 0   Following: 0

#### Feeds

View by

Question

Split two 3D geometries having the same matrix of nodes and faces
I have a matrix containing the nodes and a matrix containing the triangular faces of two 3D geometries as shown below: Is there...

3 days ago | 1 answer | 0

### 1

Question

Find the coordinates of the nodes of an matrix inside another matrix
I would like to find the coordinates of the nodes of an matrix 'nodes_portion' inside a larger matrix 'nodes_e'. (In this case a...

3 days ago | 1 answer | 0

### 1

Question

calculate the normal of a 3D plane
Hi! I have a circular plane, whose coordinates of the points of the circumference are: P = importdata("node_plane.mat"); plot3...

7 days ago | 1 answer | 0

### 1

Question

extracting matrices of numbers from a text file (txt) also containing words
I have a txt file consisting of numbers and words as you can see in the attachment. I have to create two matrices M1 and M2 wit...

2 months ago | 1 answer | 0

### 1

Question

Locate two neighboring nodes in space so as to divide the matrix into two
I have the coordinates of nodes arranged in space in the shape of 8. Is there a way to locate the nearest points as marked in ...

3 months ago | 1 answer | 1

### 1

Question

generate average numbers between two numbers inside a vector
Hi! It is easier with the figure than with words. I want to create average numbers between two numbers and insert them instead o...

3 months ago | 1 answer | 0

### 1

Question

split a matrix into two matrices according to some rule
How can I generate two separate matrices, one containing the coordinates of line A and the other of line B? load matrix figu...

3 months ago | 1 answer | 0

### 1

Question

search for the position of a number inside a cell (cell with existence of empty rows)
I am trying to look for each row of 'N' inside a cell. I am using 'find' but it doesn't seem to work. I should identify, in t...

3 months ago | 2 answers | 0

### 2

Question

Identify coordinates of nodes in a matrix above/below the coordinates of a plane
Is there a way to identify the coordinates of nodes (black nodes,'DATA_select') above (green selection) or below (purple selecti...

4 months ago | 1 answer | 0

### 1

Question

Create a node in the space between two nodes (A and B) and following the direction normal to a node (N)
Hi. I need to create a node in the space between two nodes (A and B) and following the direction normal to a node (N) as in the ...

4 months ago | 4 answers | 0

### 4

Question

incorrect reading of a txt file
I have this .txt file that I have to read in Matlab. The first line is text and the second line onwards are numbers. Using 'imp...

4 months ago | 1 answer | 0

### 1

Question

reverse operation to 'strsplit'
Hi! I have a cell like 'temp'. And I need to transform it (by adding '_') to get a char like 'a'. How can this be generated? a ...

4 months ago | 1 answer | 0

### 1

Question

calculate the perimeter of a polygon arranged in space
Hi. I need to calculate the perimeter of the geometry in the figure. load plane_new figure x = plane_new(:,1); y = plane_new...

4 months ago | 2 answers | 0

### 2

Question

creating nodes on an axis normal to a plane
Hi! How can I generate more nodes along a normal to the plane? They must extend to a length L. I would like to arrange the nodes...

4 months ago | 3 answers | 0

### 3

Question

Generate coordinates (3D), having the same contour as the initial circle but with a smaller size
Hi! Starting from nodes arranged as a circle in space (blue points), I must generate others having the same outline as the blue ...

4 months ago | 1 answer | 0

### 1

Question

Find coordinates inside a matrix with specific conditions
I need to identify 3 nodes (the green ones, but it can also be the blue ones) within a matrix that generates a "circle" in space...

4 months ago | 1 answer | 0

### 1

Question

Improving the interpolation of nodes arranged in a circle on a plane
I am using this code to improve the interpolation of nodes arranged in a circle on a plane. As input I have the nodes 'outermos...

4 months ago | 2 answers | 0

### 2

Question

Determine the coordinates of the nodes forming the outermost circle
Hi! How can I extract only the coordinates of the nodes forming the outermost circle? The nodes are located on radius R = 4! no...

4 months ago | 3 answers | 0

### 3

Question

Determining area considering nodes arranged in space in an almost circular shape
Hi. I have the attached nodes arranged in space. I would like to calculate the area having the nodes as boundaries. I'm trying ...

4 months ago | 1 answer | 0

### 1

Question

Determining the coordinates of a node between two known nodes and knowing the distances between the known nodes
Hi! This may seem like a rather trivial question. Do you know how to determine the coordinates of a node C knowing node A, node ...

4 months ago | 3 answers | 0

### 3

Question

find similar numbers within a matrix
Hi. I need to identify the position of a triplet of numbers (P) inside an array (M). P = [-3.4970900e+01 -2.0289890e+02 -1...

4 months ago | 5 answers | 0

### 5

Question

convert a cell (Rx1 cell) to a vector (Rx1 double)
Hi. I want to convert the cell 'rows_check_n' into a vector of type double with the numbers inside the cell. I tried 'cell2mat'...

6 months ago | 2 answers | 0

### 2

Question

identify rows with [] within a cell
Hi! Is there any way to identify rows with [] within a cell? Something that is analogous to 'find'. [rr,cc] = find(M(:,1) == []...

6 months ago | 1 answer | 0

### 1

Question

create empty pie chart (or not generate the graph)
Hi! I would like to create empty pie chart (I know it is not very useful). Using 'pie' does not allow this. so I had thought o...

6 months ago | 1 answer | 0

### 1

Question

use the if-else loop considering a variable 'char' in the workspace
Hi! I have an 'out' variable in the workspace that can be a number or a char. How can I use the if-else loop considering this va...

6 months ago | 1 answer | 0

### 1

Question

error using the function 'splitapply'
Hi! I have a problem about using 'splitapply'. Using the matrix 'matrix_out_98' the code works, but using the matrix 'matrix_ou...

6 months ago | 1 answer | 0

### 1

Question

increase the thickness + hide some lines generated in the pie chart
Hi! I generated this pie chart: load matrix_new.mat load color_matrix.mat % ========== labels = matrix_new(:,1); percentage...

6 months ago | 1 answer | 0

### 1

Question

Merge multiple matrices with different columns into a single matrix
I would like to combine several matrices with different columns (cell_test(:,1)) into one matrix by adding 0's (or rather []) in...

7 months ago | 1 answer | 0

### 1

Question

select rows based on the value of the last column of the matrix
I have a matrix 'A'. As can be seen in the figure (red rectangles), some rows have the first and second columns the same but not...

7 months ago | 2 answers | 0