Domanda


Cut a 3D object with the IsoCut function present on FileExchange
Hi! I'm using the code HERE to cut a 3D object but I have a problem regarding the cutting plane. I encountered this problem in ...

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


cut the object in space (separate a 3D object into two distinct parts) using a plane
Hi! Is there any code that allows me to cut the object in space (separate a 3D object into two distinct parts) using a plane? n...

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


replace characters (like 'n/a') with 0 inside a .txt text file
Hi! I have a txt file like the one attached. Inside there are numbers and sometimes 'n/a' characters. How can I replace 'n/a' wi...

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


generate a plane that has the coordinates of a 3D matrix as its boundary
Hi. I have coordinates of nodes in space ('C'). I would like to generate a plane that has the coordinates of 'C' as an outline. ...

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


interpolation of coordinates in space using interp3
Hi! I have this coordinate set (C_new). I would like to add additional coordinates using interpolation. load C_new figure p...

circa un anno fa | 2 risposte | 0

2

risposte

Domanda


calculate the normal for a plane passing through more than three points
Hi! I have a plane passing through three points (triangular plane) and from which I determine the normal. P = [ 0.034488 0.036...

circa un anno fa | 4 risposte | 0

4

risposte

Domanda


create the complete outline of a pie chart characterized by values โ€‹โ€‹<1%
Hi! I have a pie chart characterized by a single <1% slice. The graph that is plotted is only the segment as can be seen in the ...

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


Add nodes (3D) placed at a distance H from starting nodes (3D)
Hi! Is there any way to generate other red coordinates on the same plane and with a distance H = 0.1 from the black coordinates ...

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


Select only those nodes of an rx3 matrix placed at a distance 'd' from a node P (1x3)
Hi! Is there any way to extract the coordinates of the nodes of the similar circle on the left? I had thought of something rela...

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


use the 'patch' function with different results (using different matrices)
Hi! I have two matrices: 'V' and 'trace'. Using patches with V generates a completely black surface on the figure and I'm fine...

circa un anno fa | 2 risposte | 0

2

risposte

Domanda


generate new coordinates (starting from initial coordinates) that are arranged outwards (by a distance H) and on the same plane
HI! Is there a way to generate new coordinates, starting from the 'trace' matrix, which are arranged outwards (by a distance H) ...

circa un anno fa | 3 risposte | 0

3

risposte

Domanda


Determine the intersection coordinates between a 3D object and an infinite plane
Hi! I would like to know if there is a way to determine the intersection coordinates between a reported 3D geometry (tube) and a...

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


double the number of coordinates of a vector while maintaining the trend of the line created with that coordinates
HI! Is there a way to double the number of coordinates while maintaining that trend? load L figure plot3(L(:,1),L(:,2),L(:,3)...

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


generate triangular mesh starting from the external nodes (rx3) of a circle
HI! I should generate a triangular mesh starting from the external nodes (rx3 matrix) of a circle arranged in space. load('V.ma...

circa un anno fa | 2 risposte | 0

2

risposte

Domanda


create a string like "AA";"BB";"CC";"DD", and so on
Hi! I would like to create a string like "AA";"BB";"CC";"DD",and so on. The idea is similar to this: letters_str = string(mat2...

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


transform infinite plane into finite circular plane
Is it possible to generate a plan of limited dimensions, for example a 10x10 square? line = importdata("line_w.mat"); normal ...

circa un anno fa | 2 risposte | 0

2

risposte

Domanda


create a normal plane passing through a point P knowing the coordinates of the direction of the Normal vector to point P
HI! Is there a way to create a plane normal to a coordinate of a 'line_test' matrix (e.g. the 'P' coordinate)? If it can be use...

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


change the legend of a pie chart
Hi. I have the following pie chart: matrix_new = importdata("matrix_new.mat"); % import labels = matrix_new(:,1); percentag...

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


extract a number N of equally spaced rows within a matrix
HI! I have a number N and a matrix with 100 rows and 2 columns. How can I recover N rows of the matrix so that they are as equi...

circa un anno fa | 2 risposte | 0

2

risposte

Domanda


split cell (containing strings) into cell according to the value of C (column)
Hi! Is there a way to split cell 'a4' (containing strings) into cell 'a4_new'? In particular I would like to divide the column...

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


pie chart not complete - a pie is missing
HI! Why is the pie chart not complete? I would like to take into account the values present in 'matrix_analysis'. load matrix_a...

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


extract the number with only the first decimal number
I have to extract the number with only the first decimal number Examples: 1.23 -> 1.2 2.49 -> 2.4 4.77 -> 4.7 7.51 -> ...

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


divide the matrix (Rx2) into submatrices based on the values โ€‹โ€‹of the second column
HI! I tried to split the 'matrix_out' matrix into submatrices with steps of 0.1 and for the most part I succeeded. load matrix_...

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


insert two vertical axes (left and right) into the same bar graph
Hi! How can I enter the correct values into the y-axis on the right? They must match the values of CountArray(:,3)! load CountA...

circa un anno fa | 2 risposte | 0

2

risposte

Domanda


remove numbers of an matrix from another matrix
Hi. How can I remove numbers of an matrix from another matrix? I have two matrices: M1 = [7 21; 41 52; 47 65; 14 41; 14 55]; ...

circa un anno fa | 2 risposte | 0

2

risposte

Domanda


transform the number cell so that only numbers (with or without decimals) excluding zeros are visible
Hi. I want to transform the number cell "N" so that only numbers (with or without decimals) excluding zeros are visible (see for...

circa un anno fa | 3 risposte | 0

3

risposte

Domanda


add text above the legend on pie chart
Hi! I would like to add text above the legend (as shown). Is there the possibility of doing this? Here is the code: matrix ...

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


rounding a number up to a decimal point
Hi! I have a number: N = 5.00001:5.99999; % N greater than 5 and less than 6 I want to round the number N up so that I get ...

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


Transform double to char with one or two decimal places
I have a series of numbers: n_A = 3.15; n_B = 3.7; I have to transform them into char considering 1 or 2 decimal digits based...

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


transform exponential number to decimal
Hi. I have the following cell: M1 = importdata("M1.mat"); A = compose('%d (%2d%%)', [M1(:,1), M1(:,2)]); How can I turn expon...

circa un anno fa | 2 risposte | 0

2

risposte

Carica altro