Alberto Acri
Followers: 0 Following: 0
Feeds
質問
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ヶ月 前 | 1 件の回答 | 0
1
回答質問
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ヶ月 前 | 2 件の回答 | 0
2
回答質問
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ヶ月 前 | 3 件の回答 | 0
3
回答質問
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ヶ月 前 | 2 件の回答 | 0
2
回答質問
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...
3ヶ月 前 | 1 件の回答 | 0
1
回答質問
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...
3ヶ月 前 | 1 件の回答 | 0
1
回答質問
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ヶ月 前 | 1 件の回答 | 0
1
回答質問
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ヶ月 前 | 1 件の回答 | 0
1
回答質問
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ヶ月 前 | 1 件の回答 | 1
1
回答質問
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ヶ月 前 | 1 件の回答 | 0
1
回答回答済み
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...
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...
5ヶ月 前 | 0
質問
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ヶ月 前 | 1 件の回答 | 0
1
回答質問
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ヶ月 前 | 2 件の回答 | 0
2
回答質問
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ヶ月 前 | 1 件の回答 | 0
1
回答質問
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ヶ月 前 | 1 件の回答 | 0
1
回答質問
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ヶ月 前 | 1 件の回答 | 0
1
回答質問
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ヶ月 前 | 1 件の回答 | 0
1
回答質問
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ヶ月 前 | 1 件の回答 | 0
1
回答質問
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...
6ヶ月 前 | 1 件の回答 | 0
1
回答質問
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ヶ月 前 | 1 件の回答 | 0
1
回答質問
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ヶ月 前 | 1 件の回答 | 1
1
回答質問
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ヶ月 前 | 1 件の回答 | 0
1
回答質問
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...
9ヶ月 前 | 1 件の回答 | 0
1
回答質問
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ヶ月 前 | 2 件の回答 | 0
2
回答質問
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ヶ月 前 | 1 件の回答 | 0
1
回答質問
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ヶ月 前 | 4 件の回答 | 0
4
回答質問
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ヶ月 前 | 1 件の回答 | 0
1
回答質問
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ヶ月 前 | 1 件の回答 | 0
1
回答質問
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ヶ月 前 | 2 件の回答 | 0
2
回答質問
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...
10ヶ月 前 | 3 件の回答 | 0