Question


group coordinates according to the value of z
Hi. Attached is the file "coordinates.txt". I would like to group the coordinates of an mx3 array based on the value of z and p...

3 years ago | 1 answer | 0

1

answer

Question


determine the outermost coordinates of a 3D object
Hi. As reported in the title, I would like to determine the outermost coordinates of a 3D object. I have a 3D object (.txt file...

3 years ago | 1 answer | 0

1

answer

Question


display multiple 3D figures with plot3
Hi. I have some 3D figures that I would like to plot within a single graph using plot3. I started with this code: NM=10; STEP...

3 years ago | 1 answer | 0

1

answer

Question


A figure created within a for loop is not plotted (only the last one is shown)
Hello! I have the code attached. A figure created within a for loop (fig_2.png) is not plotted (only the last one figure is sho...

3 years ago | 2 answers | 0

2

answers

Question


Mirror a point cloud (nx3 matrix) with respect to a plane
Hi! I have a point cloud (nx3 matrix) representing a 3D object. I want to mirror this object with respect to the YZ plane. Ho...

3 years ago | 1 answer | 0

1

answer

Question


ICP (Iterative Closest Point) code
Hello! I am looking for a code that allows me to do a rigid overlay of two 3D objects (I have the two .txt files with 'r' rows a...

3 years ago | 1 answer | 0

1

answer

Question


Saving matrices within a cell
Hello! I want to save all the variable matrices "matrix_points" (which I create inside the function "function_main.m") inside ...

3 years ago | 1 answer | 0

1

answer

Question


Save two variables generated within a for loop
Hi. I am trying to save the two variables (x_out and y_out) present in the for loop (see inside the function 'example.m', line 3...

3 years ago | 1 answer | 0

1

answer

Question


Select only some coordinates from a .txt file
Hi! I have the filename.txt file representing the coordinates of the nodes. I have a nodes.txt file that represents the row I ...

3 years ago | 1 answer | 0

1

answer

Question


plot some nodes from an .txt file
Hi! I would like to hope if there is an easy way to plot only the outermost nodes (the red nodes in the figure). I am leaving ...

3 years ago | 2 answers | 0

2

answers

Question


Search for the Y coordinate knowing the X coordinate
Hi. Probably a trivial question. I have a .txt file mx3 double. A % .txt file mx3 double I want to determine the coordina...

3 years ago | 1 answer | 0

1

answer

Question


scale a point cloud (enlarge or reduce)
Hi. Is there a method to scale a point cloud (enlarge or reduce)? I have Rowsx3 coordinates in a .txt file that I turned into ...

3 years ago | 1 answer | 0

1

answer

Question


Traslate and Rotate a point cloud
Hi! I have a point cloud (.txt file with R rows and 3 columns). I want to translate the point cloud from the center of gravity...

3 years ago | 1 answer | 0

1

answer

Question


Merge parts that make up the string
Hello! I have a 1x5 string. I would like to merge all the 5 parts that make up the string so that I have one overall string. B...

3 years ago | 1 answer | 0

1

answer

Question


split the name of a file (image .png)
I would like to change the name of this image: 'name_of_figure_BN_102.png' to this name: 'name_of_figure_NB_102.png' I tried...

3 years ago | 2 answers | 0

2

answers

Question


Copy an image (to be selected with a parameter) from one folder to another
Hello! I would like to copy an image (to be selected with a parameter, for example 'k') from one 'origin_folder' folder to anoth...

3 years ago | 2 answers | 0

2

answers

Question


create mesh of a 3D geometry with delaunay
Hello! I would like to create the mesh of a 3D geometry. I have the nodes of which the mesh is composed (Nodes_finger.txt). I ...

3 years ago | 2 answers | 1

2

answers

Question


save 3D figure obtained with 'findobj'
Hi. I would like to save the figure I get using the 'findobj' function. I have this code and I want to save the last figure tha...

3 years ago | 1 answer | 0

1

answer

Question


Save .FIG in a specific folder
I have created a 3D figure with 'plot3'. This figure I want to save it in the .FIG format within a specific folder. I have tr...

3 years ago | 1 answer | 0

1

answer

Question


import a certain text file .txt from a specific folder
I want to import a certain text file .txt from a specific folder. In case the .txt file is saved in the current folder I open i...

3 years ago | 2 answers | 0

2

answers

Question


move txt file from one folder to another
Hi. I am trying to save a .TXT file inside a certain folder. I am currently using this code, but something is not working.... d...

3 years ago | 1 answer | 0

1

answer

Question


save .TXT inside a specific folder
Hi. I am trying to save a .TXT file inside a certain folder. I am currently using this code, but something is not working.... n...

3 years ago | 1 answer | 0

1

answer

Question


Identify lines that have a repetition (unique function)
From the attached file, I applied this code to eliminate repeated rows: a=table2array(readtable("file.txt")); [output,ia,ic]=u...

3 years ago | 2 answers | 0

2

answers

Question


specific RGB color in plot3
I want to use the gray color in the function 'plot3'. I currently use this to apply the black color: plot3(A(:,1), A(:,2), A(:...

3 years ago | 1 answer | 0

1

answer

Question


code that would identify the identical rows
Hello! I have a text file (.txt) consisting of 'M' rows and 3 columns. I would like to write a code that allows to identify the ...

3 years ago | 1 answer | 0

1

answer

Question


Calculate the coordinates of nodes in a plot3
Hi. I would like to know how to calculate the coordinates of the nodes (x,y,z coordinates) and the total number of nodes in this...

3 years ago | 1 answer | 0

1

answer

Question


Know the number of row within a structure (struct)
Hi! I have the following 'CODE' struct. I would like to know if there is a code to determine the row number (present in 'Fiel...

3 years ago | 1 answer | 0

1

answer

Question


Sorting of column 'folder' present in 'struct'
I have such a 'struct' and I want to make the column 'folder' in order. How can I do this?

3 years ago | 1 answer | 0

1

answer

Question


Extract the coordinates of all the nodes in a figure .fig
I have the .fig figure attached. I would like to calculate the coordinates of all the nodes present in the figure. If necessary...

3 years ago | 0 answers | 0

0

answers

Question


create subfolders that are the same as those in another folder
I have 2 folders, "GLOBAL" and "GLOBAL2" on the Desktop. Inside the folder "GLOBAL" I have folders "DATA 1", "DATA 4", "DATA 5"...

3 years ago | 1 answer | 0

1

answer

Load more