Community Profile

photo

DavidL88


Last seen: 22 days ago Active since 2020

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


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

22 days ago | 1 answer | 0

1

answer

Question


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

23 days ago | 1 answer | 0

1

answer

Question


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

23 days ago | 1 answer | 0

1

answer

Question


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

26 days ago | 1 answer | 0

1

answer

Question


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

28 days ago | 1 answer | 0

1

answer

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

29 days ago | 0

Question


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

29 days ago | 2 answers | 0

2

answers

Question


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 months ago | 1 answer | 0

1

answer

Question


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 months ago | 2 answers | 0

2

answers

Question


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 months ago | 1 answer | 0

1

answer

Question


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 months ago | 1 answer | 0

1

answer

Question


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 months ago | 2 answers | 0

2

answers

Question


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 months ago | 1 answer | 0

1

answer

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

10 months ago | 0

| accepted

Question


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 months ago | 1 answer | 0

1

answer

Question


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 months ago | 1 answer | 0

1

answer

Question


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 months ago | 1 answer | 0

1

answer

Question


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 months ago | 1 answer | 0

1

answer

Question


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

11 months ago | 1 answer | 0

1

answer

Question


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

11 months ago | 1 answer | 0

1

answer

Question


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

11 months ago | 1 answer | 0

1

answer

Question


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 months ago | 1 answer | 0

1

answer

Question


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 year ago | 0 answers | 0

0

answers

Question


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 year ago | 1 answer | 0

1

answer

Question


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 year ago | 1 answer | 0

1

answer

Question


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 year ago | 1 answer | 0

1

answer

Question


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 year ago | 1 answer | 0

1

answer

Question


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 year ago | 2 answers | 0

2

answers

Question


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 year ago | 1 answer | 0

1

answer

Question


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 year ago | 1 answer | 0

1

answer