photo

Alberto Acri


Last seen: 22 days ago Active since 2020

Followers: 0   Following: 0

Statistics

  • Thankful Level 5
  • Thankful Level 2
  • Explorer

View badges

Feeds

View by

Question


locate within the first column of a matrix a sequence of numbers and extract those rows
hi! I have the matrix 'M'. How can I locate inside the first column of the matrix 'M' the sequence of numbers (1 to #) and extra...

3 months ago | 1 answer | 0

1

answer

Question


Generate the motion (Trajectory) of a sphere (or point) with given velocity value
Hi. I have this file 'DATA'. The first 3 columns are the nodes in space (X,Y,Z in [m]). The 4th column is not of interest. The f...

3 months ago | 2 answers | 0

2

answers

Question


subdivide numbers inside a file .xlsx
How can I divide the numbers into different columns in this attached .xlsx file? filename = 'file.xlsx'; t = readtable(filenam...

3 months ago | 3 answers | 0

3

answers

Question


read part of a .txt file
I have the attached .txt file. I would like to read only the lines where the number from 1 to 200 is included. Each row should ...

3 months ago | 2 answers | 0

2

answers

Question


Calculate the normal vector between two nodes in the space
Hi! I have two nodes A and B. These are positioned in space with the same value of X and Y but different Z. The normal in this c...

4 months ago | 1 answer | 0

1

answer

Question


add a number of nodes N between two known nodes
How can I add a number of nodes N between two known nodes present in 'NODES'? NODES = [-41.9153 -20.1597 65.3012; -33...

4 months ago | 1 answer | 0

1

answer

Question


Calculate normals from nodes which generate a 3D curve
Hi! I have two matrices: the matrix 'coord' containing the coordinates of nodes (see black nodes in the figure) a matrix 'no...

4 months ago | 1 answer | 0

1

answer

Question


Merge triangular faces of different meshes
How can I create a matrix that unifies the triangular faces of one 3D figure with the triangular faces of another 3D figure?

5 months ago | 1 answer | 0

1

answer

Question


combine two stl into one
I have two 3D geometries ('sol_1.stl' and 'sol_2.stl') and their corresponding nodes and faces. I would like to combine the two...

5 months ago | 1 answer | 1

1

answer

Question


save (e.g. gif) a rotation of a 3D geometry around to an axis
I would like to rotate the 3D geometry of a cube around two known nodes. How can I modify the code? % ======== CUBE xc=1; yc...

5 months ago | 1 answer | 0

1

answer

Answered
plot some nodes from an .txt file
Hi @Mathieu NOE I tried using the various functions to retrieve the outermost nodes for other types of curves like the ones att...

6 months ago | 0

Question


orthogonal projection of 3D nodes onto a 2D plane
I need to project 3D nodes (nodes) onto a 2D plane that I got from the code in FEX. load xyz fobjPlane=planarFit(xyz); for ...

6 months ago | 1 answer | 0

1

answer

Question


create a 3D smoothing with csaps (or similar)
To get a better set of nodes arranged in space as a ‘curve’, how can I improve this code? Could you suggest? load curve_1 cc...

6 months ago | 2 answers | 0

2

answers

Question


find the inflection point of a curve 3D (set of nodes) in matlab
How can I determine the inflection point of a set of nodes generating a curve in 3D space? load curve_1.mat curve_x = curve_1;...

6 months ago | 1 answer | 0

1

answer

Question


create a 3D average plan (or normal) from two 3D plans (or normals)
How can I determine the average plan knowing the plans of the two attached sets of nodes? load plan_1_2.mat figure plot3(plan...

6 months ago | 1 answer | 0

1

answer

Question


create a 3D average curve from two 3D curves
I have curves M1 and M2 composed of x nodes in space. Is it possible to create an average curve (up to a specific height, from...

6 months ago | 1 answer | 0

1

answer

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

6 months ago | 1 answer | 0

1

answer

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

6 months ago | 1 answer | 0

1

answer

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 months ago | 1 answer | 0

1

answer

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

8 months ago | 1 answer | 0

1

answer

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

9 months ago | 1 answer | 1

1

answer

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

9 months ago | 1 answer | 0

1

answer

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

10 months ago | 1 answer | 0

1

answer

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

10 months ago | 2 answers | 0

2

answers

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

10 months ago | 1 answer | 0

1

answer

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

10 months ago | 4 answers | 0

4

answers

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

10 months ago | 1 answer | 0

1

answer

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

10 months ago | 1 answer | 0

1

answer

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

10 months ago | 2 answers | 0

2

answers

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

11 months ago | 3 answers | 0

3

answers

Load more