質問


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

約1年 前 | 2 件の回答 | 0

2

回答

質問


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

約1年 前 | 1 件の回答 | 0

1

回答

質問


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

約1年 前 | 1 件の回答 | 0

1

回答

質問


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

約1年 前 | 3 件の回答 | 0

3

回答

質問


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

約1年 前 | 1 件の回答 | 0

1

回答

質問


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

約1年 前 | 2 件の回答 | 0

2

回答

質問


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

約1年 前 | 2 件の回答 | 0

2

回答

質問


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

約1年 前 | 1 件の回答 | 0

1

回答

質問


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

約1年 前 | 1 件の回答 | 0

1

回答

質問


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

約1年 前 | 3 件の回答 | 0

3

回答

質問


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

約1年 前 | 2 件の回答 | 0

2

回答

質問


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

約1年 前 | 1 件の回答 | 0

1

回答

質問


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

1年以上 前 | 1 件の回答 | 0

1

回答

質問


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

1年以上 前 | 1 件の回答 | 0

1

回答

質問


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

1年以上 前 | 1 件の回答 | 0

1

回答

質問


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

1年以上 前 | 2 件の回答 | 0

2

回答

質問


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

1年以上 前 | 3 件の回答 | 0

3

回答

質問


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

1年以上 前 | 1 件の回答 | 0

1

回答

質問


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

1年以上 前 | 2 件の回答 | 0

2

回答

質問


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

1年以上 前 | 2 件の回答 | 0

2

回答

質問


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

1年以上 前 | 1 件の回答 | 0

1

回答

質問


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

1年以上 前 | 1 件の回答 | 0

1

回答

質問


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

1年以上 前 | 1 件の回答 | 0

1

回答

質問


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

1年以上 前 | 2 件の回答 | 0

2

回答

質問


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:

1年以上 前 | 1 件の回答 | 0

1

回答

質問


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

1年以上 前 | 1 件の回答 | 0

1

回答

質問


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

1年以上 前 | 1 件の回答 | 0

1

回答

質問


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

1年以上 前 | 2 件の回答 | 0

2

回答

質問


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

1年以上 前 | 1 件の回答 | 0

1

回答

質問


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

1年以上 前 | 1 件の回答 | 0

1

回答

さらに読み込む