# NA

**Statistics**

RANK**4,592**

of 243,779

REPUTATION**7**

CONTRIBUTIONS

**125** Questions

**0** Answers

ANSWER ACCEPTANCE **
85.6%
**

VOTES RECEIVED**7**

RANK

of 17,054

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

Create a grouped boxplot

I have 3 groups of data A, B, and C. A = rand(100,8); B = rand(100,8)*2; C = rand(100,8)*4; I want to plot Box chart of grpu...

3 months ago | 1 answer | 1

### 1

answerQuestion

How to see values in heatmap when we use subplot

I have heatmap like this subplot(2,2,1); a=rand(9); k=heatmap(a); subplot(2,2,2); a=rand(9); k=heatmap(a); subplot(2,...

3 months ago | 1 answer | 0

### 1

answerQuestion

shade area in a plot between x and y according to the value

I want to plot this picture These are the data I have x = [4.5;5;5.5;6;7;8;9;10]; y = (1:7)'; val = (0.1:0.1:1)'; Here ...

4 months ago | 0 answers | 0

### 0

answersQuestion

Least Trimmed Squares fitting

Is there any toolbox or written code for least trimmed square in Matlab?

4 months ago | 1 answer | 0

### 1

answerQuestion

Select rows in a given table according to 3 criteria

I have a table data like this %% Data of Table Name = {'A';'A';'A';'B';'B';'C';'D'}; index = [1;9;14;16;19;38;55]; Var_1 =...

4 months ago | 1 answer | 0

### 1

answerQuestion

Add names to table variables from a large cell

I have a 1x72 cell with name like 'Var_name' Var_name = {[1,3,4],[4,7,8],[1,2],...,[4,6,7],[5,6,8]}; ---> 1x72 cell and ha...

5 months ago | 1 answer | 0

### 1

answerQuestion

VariableNames for table that begins with number

I have matrix like this A =[4 1 0 0;5 0 1 1;6 1 0 1; 7 0 1 0]; I want to make a table with this variable name Var_name = {[1,...

5 months ago | 1 answer | 0

### 1

answerQuestion

Find random samples of some rows in the matrix and ensure the rank

I have a matrix 'A': A = [ 1.2285 -1.2285 2.3433e-17 -4.1658e-17 0.70827 -0.70827 1.351e-17 -2.4017e-17 ...

6 months ago | 1 answer | 0

### 1

answerQuestion

Solve simple equation with the floor function.

S and P are known element in the equation. I want to find x S = 10; P = 13; S = floor(P*(1-x)) I do not know how to deal wit...

6 months ago | 1 answer | 0

### 1

answerQuestion

Finding the index of duplicate rows in a cell

I have A and B A = [3,8; 8,9; 8,9; 3,9; 3,9; 3,5; 5,10; 5,10; 3,10; 3,17; 3,17; 11,17; 10,11; 10,11; 3,10]; B = {[3,8;8,9;9,3]...

6 months ago | 1 answer | 0

### 1

answerQuestion

Error When Using Writetable

I have this cell Using the below code to make a table: Table_1 = cell2table(g_final,'VariableNames',{'test1' 'test2' 'test3'...

9 months ago | 1 answer | 0

### 1

answerQuestion

Find the equality of each value in the vector and cell array

I have A = {1;[];1;[]}; B = [1;4;10;4]; I want to check equality of each row in the cell to the each row in the array and fi...

11 months ago | 1 answer | 0

### 1

answerQuestion

Insert elements into vector

I have a vector 'index' and 'val_index' index = [1;2;4;5;6;8;9]; index_val = [11;25;3;4;56;7;9]; I remove indices 3 and 7 fro...

12 months ago | 1 answer | 0

### 1

answerQuestion

tabulate cell2table

I have a ‘group_belong’ like this: The group_belong{2} is: The group_belong{4} is: I use the below code to remove empty...

12 months ago | 1 answer | 0

### 1

answerQuestion

Find equal value in two cell arrays

I have 2 cells A = {5;5;[];[];[];[];[];[]}; B = {5;13;4;12;12;12;17;14}; As you see, index one of cell A equals to cell B. I...

12 months ago | 1 answer | 0

### 1

answerQuestion

Residual values for a linear regression fit

I have these points x = [1,1,2,2,3,4,4,6]'; y = [8,1,1,2,2,3,4,1]'; I want to remove the point from above set that makes the ...

12 months ago | 1 answer | 0

### 1

answerQuestion

If statement for the structure in table

I have a table like this: %% table info alphabet = {'A';'A';'B';'A';'C';'D';'C'}; val = [52.1;20.0;13.27;10.49;4.35;4.16;3.78...

1 year ago | 1 answer | 0

### 1

answerQuestion

Insert elements to cell array

I have cell array g like this: {'A'} {[1]} {[1]} {[1]} {'B'} {[1]} {[2]} {[1]} {'C'} {[2]} ...

1 year ago | 2 answers | 0

### 2

answersQuestion

Set all elements of a sparse matrix to zero

I have 4 sparse matrices A, B, C, and D . ABCD = [A B; C D]; How can I set the all elements of the sparse matrix B and C to ...

1 year ago | 1 answer | 0

### 1

answerQuestion

Obtaining the index of elements that belong to group

I have 4 groups A =[1;2;3]; B = [4;5]; C = [6;7]; D = [8,9]; I put all of these value together all_val = [1;2;3;4;5;6;7;8...

1 year ago | 1 answer | 0

### 1

answerQuestion

least absolute deviation when we have data set

I have this data x = (1:10)'; y = 10 - 2*x + randn(10,1); y(10) = 0; how can I use least absolute value regression?

1 year ago | 2 answers | 0

### 2

answersQuestion

How to get the minimum number of rows that, if removed, reduces the rank.

I have a matrix A How can I get the number of rows that make matrix A rank deficient. for example A =[ 6.5480 -6.5480 0...

1 year ago | 1 answer | 1

### 1

answerQuestion

produce combination one by one error

I want to produce combination to check some condition. For finding combination, I used combnk. but if n = 32; newn = 31; in...

1 year ago | 1 answer | 0

### 1

answerQuestion

keep the index of removed array in cell

I have M = [12,13; 6,12; 6,13; 7,8; 4,5; 5,6; 9,14; 1,2; 1,5; 13,14; 2,5; 4 9]; S = {[7,8],[6,12,13],[4,5,6,9,13,14],[1,2,5]};...

1 year ago | 1 answer | 0

### 1

answerQuestion

Find border edges of the graph

I have a graph like this, how I can find border edges. M = [1 8; 7 8; 1 7; 7 6; 1 6; 1 5; 4 5; 1 3; 2 3; 1 2; 1 4]; Layout = [...

1 year ago | 1 answer | 1

### 1

answerQuestion

selecting the random element by having distance to others

This code generates random number index = randperm(length(1:200),5); I want to control this generator. Each number have a dist...

1 year ago | 1 answer | 0

### 1

answerQuestion

separating element in cell according to some condition

I have A A={[237;238;241;243], [238;237;241;243;247], [241;237;238;243;247],... [243;237;238;241;247;310],[247;238;241;243...

1 year ago | 1 answer | 0

### 1

answerQuestion

Merge cell that has common element

I have A ={[1,2; 1,3; 2,4; 3,4; 2,5],[72,73],[5,6; 6,7],[36,39],[71,80;72,80],[27,70;28,71],[39,51],[21,29]}; I want to merge ...

1 year ago | 2 answers | 0

### 2

answersQuestion

Getting ith element of each cell array with different sizes in loop

I have A A ={[1;2;3;4],[5;6],[7;8;9;10],[17;13;15;20;25]}; val=cellfun(@(x) numel(x),A); for i=1:length(1:max(val)) te...

1 year ago | 1 answer | 0

### 1

answerQuestion

Determine separated node in graph

I have a graph like this s = [1 2 2 4 5 4 8 7 7 8 13]; t = [3 3 11 5 6 6 7 10 12 12 9]; G = graph(s,t); plot(G) Here, I h...

1 year ago | 1 answer | 0