Community Profile

photo

Alberto Acri


Last seen: 7 dagar ago Active since 2020

Statistics

  • Thankful Level 5
  • Thankful Level 2
  • Explorer

View badges

Content Feed

View by

Question


split a matrix into two matrices according to some rule
How can I generate two separate matrices, one containing the coordinates of line A and the other of line B? load matrix figu...

10 dagar ago | 1 answer | 0

1

answer

Question


search for the position of a number inside a cell (cell with existence of empty rows)
I am trying to look for each row of 'N' inside a cell. I am using 'find' but it doesn't seem to work. I should identify, in t...

13 dagar ago | 2 answers | 0

2

answers

Question


Identify coordinates of nodes in a matrix above/below the coordinates of a plane
Is there a way to identify the coordinates of nodes (black nodes,'DATA_select') above (green selection) or below (purple selecti...

15 dagar ago | 1 answer | 0

1

answer

Question


Create a node in the space between two nodes (A and B) and following the direction normal to a node (N)
Hi. I need to create a node in the space between two nodes (A and B) and following the direction normal to a node (N) as in the ...

18 dagar ago | 4 answers | 0

4

answers

Question


incorrect reading of a txt file
I have this .txt file that I have to read in Matlab. The first line is text and the second line onwards are numbers. Using 'imp...

23 dagar ago | 1 answer | 0

1

answer

Question


reverse operation to 'strsplit'
Hi! I have a cell like 'temp'. And I need to transform it (by adding '_') to get a char like 'a'. How can this be generated? a ...

ungefär en månad ago | 1 answer | 0

1

answer

Question


calculate the perimeter of a polygon arranged in space
Hi. I need to calculate the perimeter of the geometry in the figure. load plane_new figure x = plane_new(:,1); y = plane_new...

ungefär en månad ago | 2 answers | 0

2

answers

Question


creating nodes on an axis normal to a plane
Hi! How can I generate more nodes along a normal to the plane? They must extend to a length L. I would like to arrange the nodes...

ungefär en månad ago | 3 answers | 0

3

answers

Question


Generate coordinates (3D), having the same contour as the initial circle but with a smaller size
Hi! Starting from nodes arranged as a circle in space (blue points), I must generate others having the same outline as the blue ...

ungefär en månad ago | 1 answer | 0

1

answer

Question


Find coordinates inside a matrix with specific conditions
I need to identify 3 nodes (the green ones, but it can also be the blue ones) within a matrix that generates a "circle" in space...

ungefär en månad ago | 1 answer | 0

1

answer

Question


Improving the interpolation of nodes arranged in a circle on a plane
I am using this code to improve the interpolation of nodes arranged in a circle on a plane. As input I have the nodes 'outermos...

ungefär en månad ago | 2 answers | 0

2

answers

Question


Determine the coordinates of the nodes forming the outermost circle
Hi! How can I extract only the coordinates of the nodes forming the outermost circle? The nodes are located on radius R = 4! no...

ungefär en månad ago | 3 answers | 0

3

answers

Question


Determining area considering nodes arranged in space in an almost circular shape
Hi. I have the attached nodes arranged in space. I would like to calculate the area having the nodes as boundaries. I'm trying ...

ungefär en månad ago | 1 answer | 0

1

answer

Question


Determining the coordinates of a node between two known nodes and knowing the distances between the known nodes
Hi! This may seem like a rather trivial question. Do you know how to determine the coordinates of a node C knowing node A, node ...

ungefär en månad ago | 3 answers | 0

3

answers

Question


find similar numbers within a matrix
Hi. I need to identify the position of a triplet of numbers (P) inside an array (M). P = [-3.4970900e+01 -2.0289890e+02 -1...

ungefär en månad ago | 5 answers | 0

5

answers

Question


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

3 månader ago | 2 answers | 0

2

answers

Question


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) == []...

3 månader ago | 1 answer | 0

1

answer

Question


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

3 månader ago | 1 answer | 0

1

answer

Question


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

3 månader ago | 1 answer | 0

1

answer

Question


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

3 månader ago | 1 answer | 0

1

answer

Question


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

3 månader ago | 1 answer | 0

1

answer

Question


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

3 månader ago | 1 answer | 0

1

answer

Question


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

4 månader ago | 2 answers | 0

2

answers

Question


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'); % ...

4 månader ago | 3 answers | 0

3

answers

Question


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

4 månader ago | 1 answer | 0

1

answer

Question


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

4 månader ago | 1 answer | 0

1

answer

Question


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?

4 månader ago | 1 answer | 0

1

answer

Question


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

4 månader ago | 2 answers | 0

2

answers

Question


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

4 månader ago | 1 answer | 0

1

answer

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

4 månader ago | 0

Load more