Community Profile

photo

Bubblesjinx


Last seen: 3년 초과 전 2017년부터 활동

통계

  • Thankful Level 3

배지 보기

Content Feed

보기 기준

질문


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

답변

질문


I have a 101 by 23 matrix, where first column is the ID of persons. I want to extract each value of every person <1.5, and store them in a new matrix, SO resultant matrix should have all values <1.5 and rest can be substituted to 0.
[numData,~,rawData] = xlsread('C3.csv'); lowscale = zeros(size(numData)); lowscale = numData(any(numData < 1....

거의 5년 전 | 답변 수: 1 | 0

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

답변