Pregunta


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

10 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


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

10 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


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

10 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


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

10 meses hace | 3 respuestas | 0

3

respuestas

Pregunta


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

10 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


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

10 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


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

10 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


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

10 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


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

10 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


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

10 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


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

10 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


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

10 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


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

10 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


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

10 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


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

10 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


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

10 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


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

10 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


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

10 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


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

10 meses hace | 3 respuestas | 0

3

respuestas

Pregunta


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

10 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


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

10 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


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

11 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


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

11 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


delete all the decimal digits that are 0 after the first decimal place
Hi! I need to transform the vector V with only the first decimal. Is there an easy way to do this? For example I am trying this...

11 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


merge multiple cells in only one
Hi! How can I merge these two cells? Final results:

11 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


Arrange numbers circularly around the pie chart
I create this graph chart: matrix = importdata("matrix_out_INF.mat"); % =============== % Filter the matrix to include on...

11 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


extract all rows of a matrix except 'r' (vector) rows
Hi! I need to extract all rows of 'matrix' except 'r' rows. matrix = [54; 55; 56; 57; 58; 59; 60; 61; 62; 63; 64; 65]; r = [1;...

11 meses hace | 3 respuestas | 0

3

respuestas

Pregunta


Subdivide a cell, based on the number of columns, inside a for loop
Hi! I would like to compact the rows 'char2string1', 'char2string2', ... inside a for loop. How could I do this? char2string =...

11 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


transform the cell 'string' containing strings into a single string
Hi! I need to transform the cell 'string' containing strings into a single string, like this: string_new = "54 55 56 57 59 60 6...

11 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


Apply a color to a slice of the pie chart
I need to apply white color to a slice of the pie chart. I used the following code but it creates the slice in black color even ...

11 meses hace | 2 respuestas | 0

2

respuestas

Cargar más