photo

DavidL88


Last seen: mehr als 2 Jahre vor Aktiv seit 2020

Followers: 0   Following: 0

Statistik

  • Thankful Level 4

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


Delete rows in struct based on number of elements in field
I have a 1x68 struct with 7 fields - Scouts. I want to delete rows where the number of elements under a field 'Vertices' is less...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Match two variables list
Is there a way to transalte across these variable lists c = ["80ms,110ms", "110ms,140ms", "140ms,195ms", "195ms,250ms", "250...

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Merge multiple tables with three keys
I have three tables with the same categories of data. All three tables have these three keys - "Outcome","Range","ROI". There ar...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Move positive and negative y ticks in plot in alignment
In my plot below I want to align the yticks to the right so that the numbers are aligned vertically. The -3 and -6 are closer to...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Change font size on plot but it's cut-off
I have a plot from a GUI based on MatLab. I made the font bigger for publication purposes but the font is cut off in certain par...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Change line width in graph
I have a plot with two lines. This plot was generated using a GUI that runs on MatLab. I want to change the width of the two lin...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Create new columns in tale adding prior data
I have a table (sample attached) summarising neural activity; either 1 or -1. The rest are blanks. The first two columns relate ...

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

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

etwa 3 Jahre vor | 0

Frage


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

etwa 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 3 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

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

fast 4 Jahre vor | 0

| akzeptiert

Frage


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

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Mehr laden