Frage


create a pie chart knowing the percentage value
I have the matrix 'matrix' characterized by the first column by numbers and the second column by percentage values. matrix = [7...

11 Monate vor | 1 Antwort | 0

1

Antwort

Frage


create a pie subgraph with assigned percentage values
I am using the following code to create a pie chart: number = [78;79;80;81;82;83;84;85;86;87;88]'; value = [4509;5239;6400;907...

11 Monate vor | 1 Antwort | 0

1

Antwort

Frage


pie chart creation with name (number) and corresponding percentage
Hi! I would like to create a pie chart like in the present demo: x = [1,2,3]; p = pie(x); pText = findobj(p,'Type','text');...

11 Monate vor | 3 Antworten | 0

3

Antworten

Frage


enter values from 0 to N (imposed value) with step of 100 on the x-axis of the bar graph
Hi. I need to change the values on the x-axis of a bar graph. I have tried in the following way but it doesn't seem to work. W...

11 Monate vor | 2 Antworten | 0

2

Antworten

Frage


Extract rows from a matrix considering continuous numbers in the first column
Hi! I would need to extract from the matrix 'matrix' the rows that start at 'r_max_total' and extend to the top and bottom rows ...

11 Monate vor | 1 Antwort | 0

1

Antwort

Frage


Change values of 'x-axis (bar graph) as integers
Hi! I have an example of a generated bar graph: Automatically Matlab generates an x-axis with the values multiplied by 10^4. ...

11 Monate vor | 1 Antwort | 0

1

Antwort

Frage


for loop for generate overlay bar graphs
I generated a bar graph of the following type: load matrix.mat matrix = matrix(1:2,:); x = matrix(:,1)'; wR = 0.5; wB =...

11 Monate vor | 1 Antwort | 0

1

Antwort

Frage


transform bar chart with separate bars (for each value of y) to bar chart with overlapping bars
Hi. I need to transform this figure: load matrix.mat matrix = matrix(5:7,:); figure(); cm = [1,0,0; 0,0,1; 0,1,0; 1,0,0.5...

11 Monate vor | 1 Antwort | 0

1

Antwort

Frage


Extract some rows of the matrix with the find command
Hi. I would like to select rows from a 'matrix' array that have values between 0 and 2 in the third column of 'matrix'. I was ab...

11 Monate vor | 2 Antworten | 0

2

Antworten

Frage


determine within cell the coordinates (rows/columns) having equal 3 numbers
How can you determine within cell 'out' the coordinates (rows/columns) having equal 3 numbers? I would need to get a matrix th...

12 Monate vor | 3 Antworten | 0

3

Antworten

Frage


transform the cell (50x95 cell) into the matrix 'in' (50x95x3 uint8)
Hi! How can I try to transform the cell 'out' (50x95 cell) like the matrix 'in' (50x95x3 uint8)? I am trying this way but I sho...

12 Monate vor | 1 Antwort | 0

1

Antwort

Frage


save the RGB numbers of an image inside a cell
Hi. I would like to save the RGB numbers of an image (see RGB_value) inside a cell (see matrix) that has the same size as the im...

12 Monate vor | 2 Antworten | 0

2

Antworten

Frage


saving the R G B values displayed with impixelinfo in an image into a matrix
Hi. How can I save the R G B values displayed with impixelinfo in an image into a matrix? (see red box) Here is a demo image: ...

12 Monate vor | 2 Antworten | 0

2

Antworten

Frage


open some .mat files (whose names are saved inside a cell)
Hi! I need to open some .mat files (whose names are saved inside the 'name_cell' cell). I tried this way but, of course, it sav...

12 Monate vor | 1 Antwort | 0

1

Antwort

Frage


Fixing the legend of a bar graph
Hi! I need to better arrange the legend of a bar graph. It is currently plotted like this: load CountArray_A.mat x = CountAr...

12 Monate vor | 1 Antwort | 0

1

Antwort

Frage


colour variation (transparency) on the overlapping bars of 2 bar charts
Hi! I have two bar charts placed in the same figure: load C.mat figure hbh = barh(C(:,1), C(:,[2 3]),'stacked'); cm = ['b...

12 Monate vor | 1 Antwort | 0

1

Antwort

Frage


select a portion of the matrix
Hi! I have the matrix 'matrix_C'. How can I stop (in this case) at the fifth row, i.e. when column 2,3,4 have 0 and column 5 a n...

12 Monate vor | 2 Antworten | 0

2

Antworten

Frage


Sort the first column of an array in ascending order
Hi I need to sort the first column of an array in ascending order by also moving the numbers in the second column like this:

12 Monate vor | 1 Antwort | 0

1

Antwort

Frage


create a matrix that keeps only the sequential numbers
Hi! I need to create a matrix that keeps only the sequential numbers in the first column (and keep the corresponding number in t...

12 Monate vor | 1 Antwort | 0

1

Antwort

Frage


insert one of bar graph "inside" the other
Hello! I have two bar graphs. I would like to insert one of these graphs "inside" the other. Is it possible to do this? For exa...

12 Monate vor | 1 Antwort | 0

1

Antwort

Frage


Separate numbers present within a cell on multiple rows
Hi. I retrieved the first N numbers (largest to smallest) from the second column of the 'CountArray' array. Now I wanted to de...

12 Monate vor | 2 Antworten | 0

2

Antworten

Frage


Overlay and group two (or more) bar graphs (value by value)
Hi. I need to create a graph by overlapping and grouping the values on the vertical axis of two graphs I have generated: load C...

12 Monate vor | 1 Antwort | 0

1

Antwort

Frage


understand if the cell is composed of all null elements
Hi! How can I understand if the cell consists of all null elements? I tried this way but it doesn't seem to work: CC = cell([3 ...

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


compare char (and empty elements) present in two cells
Hi! I need to compare char (and empty elements) present in two cells. I made this code which works but it gives me an 'error' wh...

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


Create a vector with the non-zero indices of a cell array
I have a cell array. I need to create a column vector that returns the non-empty row indices. I have tried this way but there i...

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


move cells (contained within a cell) to coordinates other than the starting coordinates
Hi. I have a cell 'matrix_complete' and a coordinate matrix 'coord'. I need to transform 'matrix_complete' so that: the first...

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


determine the coordinates with the 0's within a cell
Hi! I have this cell. How can I determine the coordinates where the 0's are? For example in 'matrix' I need to get a matrix wi...

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


compare two matrices with isequal
Hi. I need to compare matrices present inside two separate cells (cells 'AAA' and 'BBB'). AAA = importdata("AAA.mat"); BBB = ...

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


Store all results obtained from a for loop inside a matrix
Hi. I need to transform the matrix 'matrix' to 'matrix_out' by inserting the number '0' inside the matrix 'matrix' in reference ...

etwa ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


import to the workspace a .mat file saved in a folder other than pwd
How can I import a .mat file saved in a folder other than pwd to the workspace? folder = 'C:\Users\Desktop\folder_test'; file ...

etwa ein Jahr vor | 2 Antworten | 0

2

Antworten

Mehr laden