Community Profile

photo

DavidL88


Last seen: 17일 전 2020 이후 활성

Statistics

  • Thankful Level 3

배지보기

Content Feed

보기 기준

질문


If statement in loop with AND OR operands
I need an IF statement in a loop. I need a part of a script to skip where; (Outcome is 11_right OR Outcome is 21_right) ...

17일 전 | 답변 수: 1 | 0

1

답변

질문


Find index in struct field in which word appears
I have a 1×1 cell array - SubjectName = {'Subject3'}. How do I find the row in which this appears in the attached struct in whi...

18일 전 | 답변 수: 1 | 0

1

답변

질문


Extract substring in right format
How can I get the substring 22_right from the string below? The code below give me _22_right. I need it without the first '_' ...

18일 전 | 답변 수: 1 | 0

1

답변

질문


remove rows in table based on different string across columns
How do I remove any row in which one column contains either 11_right OR 21_right and the other column contains earlyP3? Drafted ...

21일 전 | 답변 수: 1 | 0

1

답변

질문


Create new column in table from data across multiple columns
I have a table with multiple events (P1, P2, N1, early P3, P3) listed in one column, ROI. There are several adjacent columns wit...

23일 전 | 답변 수: 1 | 0

1

답변

답변 있음
remove rows in table based on criteria across two columns
Thanks for your reply. I'm getting this error? Error using contains First argument must be a string array, character vector,...

24일 전 | 0

질문


remove rows in table based on criteria across two columns
How do I remove rows based on whether or not a substring in one column matches with a number in a second column according to a...

24일 전 | 답변 수: 2 | 0

2

답변

질문


Count frequency data from table
I have a table T with two columns. I want to create two frequency tables from them for two groups - MLD and MOD. For these table...

5달 전 | 답변 수: 1 | 0

1

답변

질문


Tabluate data using common terms in varaible names
Is there a way to place the data below in a table with column names MLD, MOD, WG and OUT and rows by ab, ac, ad, ae, using the c...

5달 전 | 답변 수: 2 | 0

2

답변

질문


Change name in files
I have a list of file names in a struct like this; 'Avg: 11_right | bl | _HLG_MOD (92 files) | _HGH' How do I move '| _HGH...

6달 전 | 답변 수: 1 | 0

1

답변

질문


Find indices of column/row in double that have matching value
a = 5.786 b = 14x308 double (all cells contain numerical values) Assuming there is one cell in 'b' with a value that matches...

7달 전 | 답변 수: 1 | 0

1

답변

질문


Combine rows and average contents in table
I have a 17,700x4 table T with 4 columns containing the results of multiple tests. First column is the name of a test. There are...

8달 전 | 답변 수: 2 | 0

2

답변

질문


Combine logical arrays into one array
I have 4 '24871x1 logical' called L1, L2, L3, L4. I want to combine these into one 24871x1 logical array. In any given row only ...

8달 전 | 답변 수: 1 | 0

1

답변

답변 있음
Convert table to struct
I figured out a script that does this. load('Example_table_delays') [testID, SubjectNames] = findgroups(t.Subject); [t...

9달 전 | 0

| 수락됨

질문


Convert table to struct
Hi How can I convert a table to a struct with two layers (a struct within a struct)? Each subject has completed four conditio...

10달 전 | 답변 수: 1 | 0

1

답변

질문


Adding data from table into struct
Hi I'm looking for a way to sum data in a table with data in a struct. The data in the table has to be matched with the data ...

10달 전 | 답변 수: 1 | 0

1

답변

질문


Reformat numbers in table
Hi I have a table and in one column there is a row of subject numbers going from one digit up to three digits. t.Var1 = 5 ...

10달 전 | 답변 수: 1 | 0

1

답변

질문


Copy and re-arrange data from one column into another
Hi I have a table with a column of data all like this - Extract clusters: FCL (2 files) | CG_MLD_11 I'd like to copy a ...

10달 전 | 답변 수: 1 | 0

1

답변

질문


Remove duplicate rows in table
Hi I have a table with four columns and roughly 45,000 rows (example below). The first column is the name of statistical test...

10달 전 | 답변 수: 1 | 0

1

답변

질문


Delete rows in a table where data in one column is below a value
Hi I have a table with four columns and multiple rows of data. I want to delet all rows where the value of teh data in the 4t...

10달 전 | 답변 수: 1 | 0

1

답변

질문


extract or split data from one column in table into several columns
Hi I have a column with text data like below across multiple rows. I want to extract or split parts of this data into new col...

10달 전 | 답변 수: 1 | 0

1

답변

질문


Create table from data
Hi I'm trying to extract some data (A1-4) and place it into a table. I get the error message "Error using vertcat - Dimensi...

11달 전 | 답변 수: 1 | 0

1

답변

질문


Extract data from struct using condition across fields
Hi I have a struct file sFiles (a 1x144 struct file). This contains the results of t-tests perfomed on neuro-imaging data (I ...

약 1년 전 | 답변 수: 0 | 0

0

답변

질문


EXTRACT TABLE FROM DATA
Hi I'm using the below script to extract some data to place in a table. When I run this script I get this error message. A1, ...

약 1년 전 | 답변 수: 1 | 0

1

답변

질문


extract data from cell array based on matching numbers with location in array
Hi I have a cell array MyData which has 128x1 cells with data running sequentially from A1 to A32 and again for B1-B32, C1-C32 a...

1년 이상 전 | 답변 수: 1 | 0

1

답변

질문


How do I swap section of cells within a column in a struct
Hi I have a 1x144 struct with 7 fields called Test. In one of these fields (Test.Name) I have a column of cells with names of e...

1년 이상 전 | 답변 수: 1 | 0

1

답변

질문


extract data from structure into table with multiple columns instead of one column
Hi I have my data stored in a structure. This data was collected from 59 participants. I want to extract some of this data in...

1년 이상 전 | 답변 수: 1 | 0

1

답변

질문


obtain answer in brackets
Hi I have some data in a 3x1 struct with 2 fields. The data is stored in this fashion [0.1000,0.2500]. When I retrieve the da...

1년 이상 전 | 답변 수: 2 | 0

2

답변

질문


Run a loop on struct field
Hi I am running a statistical analysis. I need to run the analysis multiple times for 6 different 'sensortypes'. This data is...

1년 이상 전 | 답변 수: 1 | 0

1

답변

질문


Can someone advise how I fix this loop?
I am using a MatLab based interface for processing EEG files collected from 59 subjects. The below code works but only for 1 fil...

1년 이상 전 | 답변 수: 1 | 0

1

답변