Pregunta


convert a cell (Rx1 cell) to a vector (Rx1 double)
Hi. I want to convert the cell 'rows_check_n' into a vector of type double with the numbers inside the cell. I tried 'cell2mat'...

8 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


identify rows with [] within a cell
Hi! Is there any way to identify rows with [] within a cell? Something that is analogous to 'find'. [rr,cc] = find(M(:,1) == []...

8 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


create empty pie chart (or not generate the graph)
Hi! I would like to create empty pie chart (I know it is not very useful). Using 'pie' does not allow this. so I had thought o...

8 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


use the if-else loop considering a variable 'char' in the workspace
Hi! I have an 'out' variable in the workspace that can be a number or a char. How can I use the if-else loop considering this va...

8 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


error using the function 'splitapply'
Hi! I have a problem about using 'splitapply'. Using the matrix 'matrix_out_98' the code works, but using the matrix 'matrix_ou...

8 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


increase the thickness + hide some lines generated in the pie chart
Hi! I generated this pie chart: load matrix_new.mat load color_matrix.mat % ========== labels = matrix_new(:,1); percentage...

8 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


Merge multiple matrices with different columns into a single matrix
I would like to combine several matrices with different columns (cell_test(:,1)) into one matrix by adding 0's (or rather []) in...

9 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


select rows based on the value of the last column of the matrix
I have a matrix 'A'. As can be seen in the figure (red rectangles), some rows have the first and second columns the same but not...

9 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


rename txt file within a specific folder
I need to rename a specific txt file ('file_name') within a folder. How is this done? folder = dir('C:\...\...\...\*.txt'); % ...

9 meses hace | 3 respuestas | 0

3

respuestas

Pregunta


Transforming a row (inside a matrix) with equal numbers into a row with only one number
I have amatrix of the following type: in = [228 228 228 231 231 231 183 183 183 157 157 157 168 168 168]; I need to know i...

9 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


Enlarge the size of the image inside the plotted figure
I have an image (defoult peppers). When I extract a portion of that picture, I display it "small". How can I keep the size of th...

9 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


Merge 2 matrices "RxC uint8" into one matrix "RxCx2 uint8"
Hi! I have 2 matrices of the type "41x41 unit8", I should " combine" them in order to get "41x41x2 unit8". How can I do that?

9 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


Repeat coordinates (arranged on the same y and different x) over different values of y
Hi! I need to achieve this by knowing the 'green' coordinates ("row_c") and the repeat intervals ("val"): I tried this way bu...

9 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


Ordering a matrix as x increases and y increases
Hi. I need to remove repeating nodes inside the 'square' array (I need to get only unique rows without repetition). I tried wi...

9 meses hace | 1 respuesta | 0

1

respuesta

Respondida
identify a factor that links two equal matrices but positioned in different places on the same plane
Hi @Voss! I have a question for you, which was then the question of the post. Is there a way to transform RC_transl into RC_ma...

9 meses hace | 0

Pregunta


creation of a circular plane passing through three nodes and for central node
Hi. I would like to generate a circular plane from three nodes + center nodes. I'm using this code but I don't understand why a...

10 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


Identify some nodes near a known node
Is there a way to identify the upper and lower nodes of this geometry by knowing a node? nodes = importdata("NODES.mat"); face...

10 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


rotate by a certain angle a plane in space around a node P
HI! I have a plane normal to a node (point P) in the figure. line = importdata("line_G.mat"); plane = importdata("plane_G.mat"...

10 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


rotate/translate/zoom the two simultaneously generated figures within subplot
Is there any way to rotate/translate/zoom the two simultaneously generated figures? nodes = importdata("NODES.mat"); faces = i...

10 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


delete the top and bottom triangular faces of the 3D object
Hi! Is there a way to delete the top and bottom triangular faces of the tube? nodes = importdata("NODES.mat"); faces = importd...

10 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


order the rows of the 3 matrices starting from the third coordinate of the point P
Hi! I have to order the rows of the 3 matrices starting from the third coordinate of the point P. A = [28.0445 -17.2717 83.972...

10 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


identify the coordinates of a point P (1x3) in three distinct matrices
HI! I should identify an identical point P (1x3) within the 3 matrices and in the first 3 columns of these 3 matrices. For exa...

10 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


identify a factor that links two equal matrices but positioned in different places on the same plane
I have two matrices ('RC_matlab' and 'RC_trasl') representing the same 2D coordinates of nodes on the same plane but at differen...

10 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


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

10 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


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

10 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


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

10 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


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

10 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


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

10 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


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

10 meses hace | 4 respuestas | 0

4

respuestas

Pregunta


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

10 meses hace | 1 respuesta | 0

1

respuesta

Cargar más