Community Profile

photo

NA


Last seen: 1年以上 前 2018 年からアクティブ

統計

  • First Review
  • Thankful Level 5

バッジを表示

Content Feed

表示方法

質問


Make multiple vectors the same size
I have three vectors, A, B and C. The second column of A is the value of A, and the first column is time. For B vector is also...

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

1

回答

質問


For every time stamp t do
I have 2 signals % signal one f=60; t=(0:1/(f*100):1); a=1; phi=0; y1=a*sin(1*pi*f*t+phi); plot(t,y1) % signal tw...

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

1

回答

質問


Write matlab code for the following algorithm
I have this algorithm I write this code for my example A = [10 -10; 1 0; -1 0; 0 -1 ; 0 1; 11 -10; -1 -1]; C = cov(A).^(-1...

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

1

回答

質問


Add element inside cell with combination
I have a cell A. A = {[],[1,2],[3,4],[5,6]} I want to add each element inside the cell A in a combination. This is the result...

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

2

回答

質問


How to change x-axis with boxplot
I have boxplot like this X = randn(100,82); boxplot(X) How to change the x-axis to only show the indices 20,40,60, and 80. T...

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

1

回答

質問


How to find matrix S, given by this equation
I have matrix L and the right-hand side of equation below. How can I get matrix S? All the matrices are square matrix.

2年弱 前 | 3 件の回答 | 0

3

回答

質問


How to replace minimum values in the vector with 1 and replace others value plus one
I have a vector A A = [2; 1; 4; 1; 3; 3; 1; 1]; In this vector I want to find maximum and put the value to 1 [B,I] = sort(A,'...

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

1

回答

質問


how to put each element of vector as a label for the plot
I have vector A as A = [69; 70; 74; 77; 118; 103; 104]; I want to put each element of A vector as a label for the plot. Inste...

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

1

回答

質問


How do I find the X and Y coordinates of image (want to plot this figure)
I have this image As I want to plot it, I need to have the coordinations. I checked the code here getting coordinates but it...

2年弱 前 | 2 件の回答 | 0

2

回答

質問


Find and remove equal element in 2 different cell with different size
I have cell A and B. A = {[100,103,104],[4,5,11],[66],[4,5,1],[85,88,89,77]}; B = {[40,41,41],[4,5,11],[68],[85,88,89,77],[31,...

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

1

回答

質問


Find the number of red marks in box plot
I have the box plot like this. How can I find the number of the red marks? T = [1;-1;0.5;-0.5;0.75;-0.75;-6;-7;4;3]; h = boxpl...

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

1

回答

質問


Plotting ellipses around the data points and circle around the cluster points
I have these points xy xy = [10 -10; 1 0; -1 0; 0 -1; 0 1 ;11 -10; -1 -1]; scatter(xy(:,1),xy(:,2)) grid on xlim([-20 20]) ...

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

1

回答

質問


Calculate mahalanobis distance of matrix for each row
I want to calculate mahalanobis distance of matrix A for each row with respect to average value of column. I use 'mahal' functi...

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

1

回答

質問


Calculate covariance matrix for simple example
I have matrix such as temp = [1 2 4 2 5; 100 300 200 600 100; 10 15 20 10 30]; %[A;B;C] I want to calculate covariance of temp...

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

1

回答

質問


Plot function in two intervals
I'm trying to plot an interval funciton like, This is the code that I used x = -3:0.001:3; a = 1.3; y = zeros(size(x)); ...

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

1

回答

質問


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

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

2

回答

質問


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

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

1

回答

質問


Least Trimmed Squares fitting
Is there any toolbox or written code for least trimmed square in Matlab?

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

1

回答

質問


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

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

1

回答

質問


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

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

1

回答

質問


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

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

1

回答

質問


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

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

1

回答

質問


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

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

1

回答

質問


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

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

1

回答

質問


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

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

1

回答

質問


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

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

1

回答

質問


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

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

1

回答

質問


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

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

1

回答

質問


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

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

1

回答

質問


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

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

1

回答

さらに読み込む