質問


Subtract the value 1 to a component of the code
I have this formula on a Matlab code: outA = 100 - ((cell2mat(A(lin3:lin4,14))-1) ./ size(A(lin3:lin4,:),1))*100; The ...

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

1

回答

質問


Sum up a value to a row and create new colum at the end of the cell
How can I add to a row 1 unit? I have the following cell: A= {12 1996 1999 15 1999 2002 26 1997 2001 43 1999 2008 ...

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

2

回答

質問


Erase row from a cell-array
I have the following cell variable with 10000 rows: A={ 'x' 'start1' 'end1' 12 1997 2000 13 1997 1999 16 1997 ...

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

1

回答

質問


Pass data in subcells in a cell array to double-type data
I have a cell array with 5 columns and the same number of rows. Two of the columns comprise text-data (char type), other two col...

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

1

回答

質問


Create new variable that recognizes changes in the code
I have a double matrix B that has in C1 the year 1998 and in C2 a code (unrepeated). Each C2 is given a value in C3. % C1...

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

1

回答

質問


Match different sized cell arrays in Matlab
RECCELL is a cell array with 8 columns and 30000 rows: C1 C2 C3 C4 C5 C6 C7 C8 'AA' ...

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

1

回答

質問


Create new variable considering specific rows & columns of a cell-array
I have a cell-array firstly composed by row 1 with years and column 1 (Y) with un-repeated values. To each element of the first ...

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

1

回答

質問


Count elements not including blank entries in a cell array
I have a cell-array and I am trying to count the elements for each row that have a value and not 'Nan' or '[]'. For example: ...

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

1

回答

質問


Erase rows of a cell based on a condition
I have a cell array with 20 000 rows (A - numbers are not repeated) and 17 columns (years). In the example below I only present ...

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

1

回答

質問


Create new variable based on existing columns of a cell
I have a cell-array with 600 000 rows and 5 columns. The cell-array is sorted by a code (c1) and then by year (c2). In the fol...

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

2

回答

質問


Get new variable based on the average of a column - Matlab
I have a cell array variable with 15 columns and about 200 000 rows. These cell array, is sorted by year (C1) and then by a code...

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

1

回答

質問


How to aggregate elements of a cell array in Matlab
I have a celL-type variable with 1 row and 17 columns that represent years. Each of the elements of the last is another cell-arr...

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

1

回答

質問


Assign Ranking in Matlab
I have several cell-type variables A{Y,1}(Z x 13 cells) all sorted by column C. I need to assign a ranking (add column R) for th...

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

2

回答

質問


Get new variable if a cell in a column changes - Matlab
I have a cell-type variable X and I would like to have variable X separated in different variables for each different Firm (X(:,...

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

1

回答

質問


Delete rows from a cell given a specific condition - Matlab
I have a cell type big-variable sorted out by *FIRM* (A(:,2)) and I want to erase all the rows in which the same firm doesn’t ap...

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

1

回答

質問


Introduce new column in a cell array in Matlab
I created a new variable (type cell) ABS_V, which is the absolute difference of to columns from variable FA (type cell). ...

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

1

回答

質問


Select rows given a condition
I have a big- *cell* variable and I want to select it, considering the first row. So for instance if I have A: 1997 FD 89...

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

3

回答

質問


Pass variables from double to cell
I had a double variable A and I changed it to a cell-type variable B in the following way: B = num2cell(A); Then I built ...

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

1

回答

質問


Get new variable with elements from a double matrix & cell array given a specific condition
I am working with Matlab, and I have a cell array with 5 columns and half million rows and a double matrix with columns and abou...

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

1

回答

質問


Track changes in a cell array with strings
I have a cell array with 5 columns and about 5000 rows with string elements. E.g.: 1997 Charles House Materials Chemicals ...

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

1

回答

質問


Pass elements to a different cell array given a specific condition
I am working with matlab, and I have two different cell arrays with several elements. A primary and a secondary one. There is on...

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

1

回答

質問


Delete values from different columns depending on a value from a specific column
I have a double variable with 3 columns. Sometimes, in the second column I obtain the value zero. In case it happens I want to c...

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

1

回答

質問


How to track changes and match columns in a cell (MATLAB)
I have a cell with 3 different columns. The first is a simple ranking, the second is a code composed by X elements and the third...

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

1

回答

質問


How to delete an element from a cell
I have a column in matlab with data written this way: 19970422 30980524 63098754 etc … And I only want to have ...

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

2

回答