photo

Bubblesjinx


Last seen: 4 years 前 自 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...

5 years 前 | 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 years 前 | 1 个回答 | 0

1

个回答

1

个回答

提问


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

6 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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...

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

7 years 前 | 1 个回答 | 0

1

个回答

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

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

7 years 前 | 3 个回答 | 0

3

个回答