Community Profile

photo

Bubblesjinx


Last seen: 3年以上 前 2017 年からアクティブ

Followers: 0   Following: 0

統計

  • Thankful Level 3

バッジを表示

Feeds

表示方法

質問


I want to add this cell variable 'condition_col' to existing matrix 'data' if certain conditions are met, following code doesn't work, any help?
condition_col = 'codition1' condition_col = cellstr(condition_col); data = num2cell(data); for i = 1:length(data) if s...

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

1

回答

質問


I have a cell matrix and would like to merge these all columns together vertically. How can I do that?
% this just gives me two cell vertically concatenated; I waould like to merge the data of these columns into one . data_final =...

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

1

回答

1

回答

質問


How can I convert a cell array with values {'S101' 'S102'},to a double array?
events = {'S100';'S102';'S103';'S101'}

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

1

回答

質問


I have two cell arrays of size 1*32 but contains different size of columns like 1*145 double, 1*1035 double (screenshot attached). I want to concatenate them using following pseudo code. How can I do that? Any suggestions would help.
initialize matrix data_concat of size channels X total time points initialize matrix time_concat of size 1 X total time point...

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

1

回答

質問


I have two cell arrays that are structure fields (data.trial = 32*751) and (data.time = 1*751), generated in Fieldtrip. My aim is to concatenate them using the following pseudo code: Can anyone please provide the code.
> initialize matrix data_concat of size channels X total time points > initialize matrix time_concat of size 1 X total time...

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

0

回答

質問


I have 'value' as a cell array (Size 160*1) contians S101,S100,S103, S102 randomly.I need to look for S100 followed by S102 in this cell array such that if t1 == 'S100' && t2 == 'S102'. How can I do that?
for j = 1:(length(value)-1) t1 = value(j); t2 = value(j+1); if ~ strcmp {t1 , 'S100'} && strcmp {t2, 'S102'...

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

1

回答

質問


I have two columns. I want to see how many times a specific row combination occur? For example, I want to see how many Abitur with 0 are there? and How many abitur with 1 are there?
'Abitur' '0' 'Abitur' '0' 'Abitur' '0' 'Abitur' '0' 'Abitur' '0' 'Abitur' '1' 'Abitur' '0' 'Abitur' '0' 'Abitur' '0' 'A...

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

0

回答

質問


Append cell column to a matrix
I have a matrix AUC(3296x4) double, I need to append a cell column condition = {'FaHPF','FaHPuF','FaHuPF','FaHuPuF','FaEPF'...

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

1

回答

質問


I've index of each column of a cell array( A =3297*40 ). as ind_a = (1,5,9,13), ind_b = (2,6,7,8) and so on. I have to calculate AUC score using trapz of elements on index of ind_a across rows. Any help!
ind_a = 1: 4: size(MALL1, 2);ind_b = 2: 4: size (MALL1, 2); MALL1 is a cell array of size 3297*2

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

0

回答

質問


How to integrate across row values?
I have an array of size 180*10, and I want to find AUC score of values across rows by applying trapz function.How to make loop t...

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

1

回答

質問


I have a matrix of dimension 180x41 double. First column of the matrix is SubjectID, rest columns are four scores for 10 segments. I need to calculate mean of four scores for each part and store in one matrix. Please Help!
The output should look like as: SUbID MSE1_S1(Mean) MSE2_S2(Mean) MSE3_S3(Mean)...... where MSE1_S1 = mean(MSE_1_S1,MSE_1_S...

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

3

回答