Community Profile

photo

DavidL88


Last seen: 12 days ago Active since 2020

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


Place data within a cell in rows
I have a table like below where the results data contained in the cell is a string. Is there a way to stack the data within the ...

13 days ago | 1 answer | 0

1

answer

Question


Reformat table with a column as a top row
How do I re-format the below table so that one of the Columns (ROI) becomes a row with the data re-structured under this new for...

16 days ago | 2 answers | 0

2

answers

Question


Find index of value extracted from subset in larger set
I have a dataset in the form of a struct with two fields - each field is a double with 1,500 x 1 values. One field is t values, ...

18 days ago | 2 answers | 0

2

answers

Question


New string based on parts of old string
How do I get new str from this old string? All the strings are in this format. Is there a way to extract based on the position f...

1 month ago | 2 answers | 0

2

answers

Question


Save figure name as string
How do I save a file name as a string? hFig is the Figure I want to save and str is the name I want to save this figure as. When...

1 month ago | 2 answers | 0

2

answers

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

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

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

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

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

3 months 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,...

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

1 year 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

Load more