提问


extract row from a cell
Hi! I generated a cell similar to this one: a = {'home'}; b = {'ball' , 'cake' , 'ice'}; c = {'car','moto'}; d = {'money','s...

1 year 前 | 1 个回答 | 0

1

个回答

提问


combine cells with different size
I have several different cells. How can I combine them? I have tried it this way. a = {'ball' , 'cake' , 'ice'}; b = {'home'}...

1 year 前 | 1 个回答 | 0

1

个回答

提问


only consider fields that exist within a structure
Hello! I have a mystruct structure. Within this struct I have several fields to consider (for example: data, number, variable, r...

1 year 前 | 2 个回答 | 0

2

个回答

提问


fix content .txt file (organize the inside of the .txt file)
Hi! How can I transform the file data.txt to data_new.txt?

1 year 前 | 2 个回答 | 0

2

个回答

提问


add words to the end of a path
Hi! I need to add the string or char my version or my version complete to the end of a path. I tried this way but I can't find...

1 year 前 | 1 个回答 | 0

1

个回答

提问


generate a string with the numbers 1:999
Hello! I need to generate a string with the numbers 1:999. I wrote these lines of code: row_number = 1:999; column_number = ...

1 year 前 | 2 个回答 | 0

2

个回答

提问


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

1 year 前 | 1 个回答 | 0

1

个回答

提问


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

1 year 前 | 2 个回答 | 0

2

个回答

提问


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

1 year 前 | 2 个回答 | 0

2

个回答

提问


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

1 year 前 | 1 个回答 | 0

1

个回答

提问


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

1 year 前 | 1 个回答 | 0

1

个回答

提问


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

1 year 前 | 1 个回答 | 0

1

个回答

提问


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

1 year 前 | 2 个回答 | 0

2

个回答

提问


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

1 year 前 | 2 个回答 | 0

2

个回答

提问


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"); ...

1 year 前 | 1 个回答 | 0

1

个回答

提问


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

1 year 前 | 2 个回答 | 0

2

个回答

提问


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

1 year 前 | 2 个回答 | 0

2

个回答

提问


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

1 year 前 | 1 个回答 | 0

1

个回答

提问


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

1 year 前 | 2 个回答 | 0

2

个回答

提问


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

1 year 前 | 1 个回答 | 0

1

个回答

提问


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

1 year 前 | 2 个回答 | 0

2

个回答

提问


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

1 year 前 | 2 个回答 | 0

2

个回答

提问


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

1 year 前 | 1 个回答 | 0

1

个回答

提问


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

1 year 前 | 2 个回答 | 0

2

个回答

提问


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

1 year 前 | 1 个回答 | 0

1

个回答

提问


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

1 year 前 | 1 个回答 | 0

1

个回答

提问


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

1 year 前 | 1 个回答 | 0

1

个回答

提问


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

1 year 前 | 2 个回答 | 0

2

个回答

提问


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

1 year 前 | 1 个回答 | 0

1

个回答

提问


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

1 year 前 | 1 个回答 | 0

1

个回答

加载更多