DavidL88
Followers: 0 Following: 0
Feeds
質問
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...
2年以上 前 | 1 件の回答 | 0
1
回答質問
Match two variables list
Is there a way to transalte across these variable lists c = ["80ms,110ms", "110ms,140ms", "140ms,195ms", "195ms,250ms", "250...
2年以上 前 | 2 件の回答 | 0
2
回答質問
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...
2年以上 前 | 1 件の回答 | 0
1
回答質問
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...
2年以上 前 | 1 件の回答 | 0
1
回答質問
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...
2年以上 前 | 1 件の回答 | 0
1
回答質問
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...
2年以上 前 | 1 件の回答 | 0
1
回答質問
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 ...
3年弱 前 | 1 件の回答 | 0
1
回答質問
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 ...
3年弱 前 | 1 件の回答 | 0
1
回答質問
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...
3年弱 前 | 2 件の回答 | 0
2
回答質問
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, ...
3年弱 前 | 2 件の回答 | 0
2
回答質問
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...
約3年 前 | 2 件の回答 | 0
2
回答質問
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...
約3年 前 | 2 件の回答 | 0
2
回答質問
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年 前 | 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...
約3年 前 | 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 '_' ...
約3年 前 | 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 ...
約3年 前 | 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...
約3年 前 | 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,...
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年 前 | 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...
約3年 前 | 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...
3年以上 前 | 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...
3年以上 前 | 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...
3年以上 前 | 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...
3年以上 前 | 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...
3年以上 前 | 3 件の回答 | 0
3
回答質問
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 ...
3年以上 前 | 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...
Convert table to struct
I figured out a script that does this. load('Example_table_delays') [testID, SubjectNames] = findgroups(t.Subject); [t...
4年弱 前 | 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...
4年弱 前 | 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 ...
4年弱 前 | 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 ...
4年弱 前 | 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 ...
4年弱 前 | 1 件の回答 | 0