提问


Translate 3D coordinates on a known surface
Hi. I would like to know if there is a way to translate each 3D coordinate (blue dots) such that they lie on a known red surface...

1 year 前 | 2 个回答 | 1

2

个回答

提问


Select only the matrices within the cell
Hi. A simple method to select only the matrices within the cell? I am trying to do something like this with this code but it d...

1 year 前 | 3 个回答 | 0

3

个回答

提问


Incorrect use if/else
Hi. How can I make the following if/else work ? cell = {[],[],[]}; cell1 = {rand(1452,2),[],[]}; A = cell{1,1}; B = cell1{1,...

1 year 前 | 1 个回答 | 0

1

个回答

提问


Merge a matrix present in the same position but in two different cells
Hi. I should merge the matrix located at position {1,1} (and so on for all other matrices) present in cell_A (1464x2) and cell (...

1 year 前 | 1 个回答 | 0

1

个回答

提问


Save numbers (present within a cell) into a single matrix
Hi! How can I save the numbers the numbers contained in this cell as a matrix? Also, instead of blanks [] I should have zeros 0...

1 year 前 | 1 个回答 | 0

1

个回答

提问


Identify number of arrays within each row of a cell
Hi. I have the attached cell (.mat file). The result I want to get is the number of matrices containing in each row of the cel...

1 year 前 | 1 个回答 | 0

1

个回答

提问


Save matrices (present within a cell) into a single matrix
Hi. I would like to save matrices (present within a cell) into one single matrix. How can I do this? Here is an example of a ce...

1 year 前 | 1 个回答 | 0

1

个回答

提问


Scale 2D coordinates with respect to the centroid
I would like to scale, with respect to the centroid, curves_2.txt such that the Y (or X) coordinates of the marked points of cur...

1 year 前 | 3 个回答 | 0

3

个回答

提问


Rigidly translating and mirroring 2D coordinates
Hi! I would like to rigidly translate the coordinates of file curve2.txt so that its center of gravity coincides with the center...

1 year 前 | 1 个回答 | 1

1

个回答

提问


Saving a resized image while keeping the resized values
Hi! I want to save a resized image in .png format. The .png image I start from has size 656x875 pixels. I used this code to re...

1 year 前 | 1 个回答 | 0

1

个回答

提问


Identify two coordinates on the X-axis and Y-axis of a 3D object
Hello! I should retrieve the outermost coordinates on the XY plane of a 3D object. In detail: I have a 3D object -> I display...

1 year 前 | 1 个回答 | 0

1

个回答

提问


block plotting a figure
Hi! I have a function A that calls other functions B, C, etc. Each function generates several plots, but in the end function A o...

1 year 前 | 2 个回答 | 0

2

个回答

提问


Use a for loop to find out if point B is away from point A by a known amount
I have point A and point B. (In the figure only two pairs of A and B.) condition: I want to find out if point B is far from p...

1 year 前 | 1 个回答 | 0

1

个回答

提问


Sorting of points (2D) clockwise with respect to the center of gravity
I am using this code. Can anyone tell me how I can improve it to be able to sort the points (matrix coordinates) clockwise with ...

1 year 前 | 2 个回答 | 1

2

个回答

提问


connect nodes (coordinates of a matrix rx3) with a line
I am modifying the question because it was completely misunderstood. I want to connect the coordinates in data.txt (representin...

1 year 前 | 4 个回答 | 0

4

个回答

提问


select and extract only some coordinates of a 3D object
I have the following .txt file (Rx3 matrix). rabbit = importdata("rabbit.txt"); figure plot3(rabbit(:,1), rabbit(:,2), rabbi...

1 year 前 | 1 个回答 | 0

1

个回答

提问


generate uniformly distributed coordinates (Ax3 matrix) from known coordinates (Rx3 matrix)
Hi. I am trying to generate uniformly distributed coordinates (Ax3 matrix) from the non-uniform coordinates of a 3D object (Rx3 ...

1 year 前 | 1 个回答 | 0

1

个回答

提问


Rotate 3-D Point Cloud Using Rigid Transformation
Hi! I need to rotate a point cloud (or .txt file of the type rx3) by a certain angle theta with respect to the x-axis (or y- or ...

1 year 前 | 3 个回答 | 0

3

个回答

提问


rotate the coordinates plotted with plot3 without changing the axes
Hi. I need to rotate the plotted curves (3D figure on the left) by 180° as shown in the figure on the right. Is there any effici...

1 year 前 | 1 个回答 | 0

1

个回答

提问


Obtain the desired orientation without reversing the direction of the two axes
Hi! How can I get the right figure without reversing the direction of the two axes? p.s. The figure on the right is created by ...

1 year 前 | 1 个回答 | 0

1

个回答

提问


Exclude from plotting some coordinates (born from blank .png images)
Hello! Maybe the title will not be well clear but I hope I am clear in my goal. I have the attached code along with some .png f...

1 year 前 | 1 个回答 | 0

1

个回答

提问


Error on using movmean function -> shifted coordinates
I tried using movmean and it seems to work correctly, but I get two dots almost in the middle of the screen. How come? Did I do ...

1 year 前 | 3 个回答 | 0

3

个回答

提问


90° clockwise rotation of 2D coordinates
Hi. I cannot understand why the 90° clockwise rotation of the attached 2D coordinates (matrix.txt) is not done. I have tried tw...

1 year 前 | 2 个回答 | 0

2

个回答

提问


Create the generated curve differently (function "bwboundaries")
Hi. I would like to be able to improve the following code so that: 1) the background always remains white and the curves always...

1 year 前 | 1 个回答 | 0

1

个回答

提问


Move/delete/create some coordinates in order to make the curve more or less uniform
Hello! As written in the title I am trying to figure out if there is a way to move/delete/create some coordinates in order to ma...

1 year 前 | 1 个回答 | 0

1

个回答

提问


Merge nx3 double matrices present within a 3x1 cell
I have the following generic code that generates me a 3x1 "output" cell. a=randi(100,157,2); b=randi(200,189,2); c=randi(300...

1 year 前 | 2 个回答 | 0

2

个回答

提问


display all the matrices present in the cell in one figure
Hi. How can I display all the matrices in the "output" cell in one figure? I have tried the following way but I display them i...

1 year 前 | 2 个回答 | 0

2

个回答

提问


Insert numeric values (rx1 matrix) inside a cell
Hi. I would like to insert a column of 100: rep = repmat(100,157,1); inside the first cell (see image) so that 157x2 becomes 1...

1 year 前 | 1 个回答 | 0

1

个回答

提问


Plot only the outermost nodes
Hello! I would like to fix my code in such a way that I get only the outermost nodes. How can I do this? Shown is an example of ...

1 year 前 | 1 个回答 | 0

1

个回答

提问


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

1 year 前 | 1 个回答 | 0

1

个回答

加载更多