![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/9822557_1571862975941_DEF.jpg)
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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 ...
2 years 前 | 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 ...
2 years 前 | 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...
2 years 前 | 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, ...
2 years 前 | 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...
2 years 前 | 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...
2 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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,...
3 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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...
3 years 前 | 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...
3 years 前 | 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 ...
3 years 前 | 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 ...
3 years 前 | 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 ...
3 years 前 | 1 个回答 | 0