Community Profile

photo

Alberto Acri


Last seen: 20 Tage vor Aktiv seit 2020

Statistiken

  • Thankful Level 5
  • Thankful Level 2
  • Explorer

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


Apply a color variation to a triangular face
Hi! I have this code. I would like to color the face of the triangle taking into account the RGB colors present on the three nod...

24 Tage vor | 1 Antwort | 0

1

Antwort

Frage


Apply a specific RGB color on plot3
Hi. I have this code. selection = importdata("selection.mat"); figure plot3(selection(:,1),selection(:,2),selection(:,3),'b.'...

25 Tage vor | 1 Antwort | 0

1

Antwort

Frage


Exclude some nodes from a 3D point cloud (select only neighboring nodes)
Hi! I would need code to create a matrix of nodes excluding those circled in red. Is there any code that I could use? I would n...

28 Tage vor | 1 Antwort | 0

1

Antwort

Frage


Plot a plane from 3 points
Hi, I want to create a plane that goes through points A, B, C. I am using the "plot_line" function found on "file exchange" belo...

3 Monate vor | 2 Antworten | 0

2

Antworten

Frage


Plot colored angle between two lines on the YZ plane
Hi. I would like to plot on my figure, the black corner (see image below) on the YZ plane. How can I do it? meta = [14.97, 29...

3 Monate vor | 2 Antworten | 0

2

Antworten

Frage


Identify triangular faces of a mesh
Hi! How can I identify the faces highlighted in red within the "faces_part" matrix? nodes_part = importdata("nodes_part.mat"); ...

4 Monate vor | 1 Antwort | 0

1

Antwort

Frage


use two indexes at the same time in a for loop
Hi! I have the following matrix: M = [26 45 15 47 78 9 6 45 14 66 95 6; 65 35 96 39 7 88 47 11 14 75 77 86; 41 ...

4 Monate vor | 2 Antworten | 0

2

Antworten

Frage


remesh code for a 3D geometry
Hi. I need to remesh a 3D geometry. I have both node coordinates and triangle faces. I have been using this somewhat dated code ...

4 Monate vor | 2 Antworten | 0

2

Antworten

Frage


problem on saving within a folder of the figures I'm going to generate
I have a problem on saving the figures I go to generate. Here is the code I am using to save the images: filePattern_transfor...

4 Monate vor | 1 Antwort | 0

1

Antwort

Frage


Automatically identify two numbers within an matrix
Is there any way to automatically locate two numbers within a matrix? For example: for the file "matrix_1.txt" I am interested...

4 Monate vor | 2 Antworten | 0

2

Antworten

Frage


Display pixel colors from their known RGB values
Hi. I would like to start from the known RGB values (in matrix) to visualize a colored figure. In detail: I want to create a m...

4 Monate vor | 1 Antwort | 0

1

Antwort

Frage


Changing the number of rows in a vector by adding repeated rows
I have a vector V [76x3 double] and I want to make it V1 [1022x3 double]. I want to get the vector V1 in the following way: ->...

4 Monate vor | 2 Antworten | 0

2

Antworten

Frage


Retrieving numbers present within an array by knowing the coordinates
Hi! I have a fairly easy question but whose error I can't figure out. I have the array "image_DEF_number_pixel" and the coordin...

4 Monate vor | 2 Antworten | 0

2

Antworten

Frage


create a vector w1 having the same length as another vector w but containing certain x values
Hello! I want to create a vector w1 having the same length as another vector w but containing certain x values. How can I fix th...

4 Monate vor | 1 Antwort | 0

1

Antwort

Frage


Find the (x,y) coordinate of a "white" pixel (from calculated matrix)
Hello! I want to determine the coordinate (x,y) of any "white" pixel that is in contact with a "black" pixel. For example, in ...

4 Monate vor | 2 Antworten | 0

2

Antworten

Frage


color all pixels in an image black except white pixels
Hi! From the attached .png figure [rxcx3] I would like to keep only the white pixels and turn all other pixels to black. How can...

4 Monate vor | 1 Antwort | 0

1

Antwort

Frage


select a pixel on the grayscale image to get a mask
I would need to understand how to select the pixel from the figure on the left (e.g., with the ginput command) in order to get t...

4 Monate vor | 1 Antwort | 0

1

Antwort

Frage


Color in white only pixels defined by a matrix [rx2]
Hi! I would like to keep white pixels only at the desired coordinates ("contour") while transforming other pixels with black col...

4 Monate vor | 1 Antwort | 0

1

Antwort

Frage


apply region growing code to my image
Hi! I am using this code (see link) although it is a bit old. The example given by the author works: load example figure, imsh...

4 Monate vor | 2 Antworten | 0

2

Antworten

Frage


Coloring pixels with a specific color
Is it possible to create an image (like the original) in which only the desired pixels are colored? For example, I want to col...

4 Monate vor | 1 Antwort | 0

1

Antwort

Frage


identify the pixel color as a single number (no RGB triplet)
Hi. I am using the function you find at this link1 (but you can also use Image Viewer App explained at this link2). I should a...

5 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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

5 Monate vor | 2 Antworten | 1

2

Antworten

Frage


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

5 Monate vor | 3 Antworten | 0

3

Antworten

Frage


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

5 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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

5 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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

5 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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

5 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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

5 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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

5 Monate vor | 3 Antworten | 0

3

Antworten

Frage


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

5 Monate vor | 1 Antwort | 1

1

Antwort

Mehr laden