Frage


split struct based on description
Hi. How do you subdivide the struct into multiple structs as shown in the figure?

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


select, only once, the names present in a struct
I have the following struct. Is it possible to select, only once, the names in the 'SeriesDescription' column? So I would need t...

etwa ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


create a struct with two columns
Hi. I want to create a structure like the one in the figure consisting of two columns: 'name' and 'folder'. I already have th...

etwa ein Jahr vor | 2 Antworten | 0

2

Antworten

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

etwa ein Jahr 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.'...

etwa ein Jahr 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...

etwa ein Jahr 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...

mehr als ein Jahr 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...

mehr als ein Jahr 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"); ...

mehr als ein Jahr 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 ...

mehr als ein Jahr 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 ...

mehr als ein Jahr 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...

mehr als ein Jahr 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...

mehr als ein Jahr 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...

mehr als ein Jahr 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: ->...

mehr als ein Jahr 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...

mehr als ein Jahr 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...

mehr als ein Jahr 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 ...

mehr als ein Jahr 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...

mehr als ein Jahr 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...

mehr als ein Jahr 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...

mehr als ein Jahr 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...

mehr als ein Jahr 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...

mehr als ein Jahr 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...

mehr als ein Jahr 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...

mehr als ein Jahr 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...

mehr als ein Jahr 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,...

mehr als ein Jahr 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 (...

mehr als ein Jahr 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...

mehr als ein Jahr 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...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Mehr laden