photo

Bubblesjinx


Last seen: mehr als 3 Jahre vor Aktiv seit 2017

Followers: 0   Following: 0

Statistik

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

1

Antwort

Frage


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

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 7 Jahre vor | 3 Antworten | 0

3

Antworten