Question


How do I find the index of the first occurance of a string in a cell array?
Hi, this seems to be a bit harder than I originally thought. I am looking for occurances of events which are tracked by strings...

2 years ago | 1 answer | 0

1

answer

Question


How to get average for each row in a cell array containing multiple matrices?
Hi, I have a cell array 19x21 called Hurst (see attachment) where each row contains differently sized cells. These cells contai...

2 years ago | 1 answer | 0

1

answer

Answered
How can I change input of function from file to cell array?
Beautiful! Many thanks! Sorry one last thing, I promise! When running this code the resulting cells are saved in a single row r...

2 years ago | 0

Question


How can I change input of function from file to cell array?
Hi, I have this function dfaedit_2('filename.csv',0,0,0) and it only takes files as input. I have a cell array with a size of 1...

2 years ago | 2 answers | 0

2

answers

Question


How to use cellfun with a function that has multiple arguments?
Hi, I have the function dfaedit_2 which takes three arguments: H = dfaedit_2(0,0,0) Now, I want to run this fucntion on ever...

2 years ago | 0 answers | 0

0

answers

Question


Error using reshape function when trying to split columns into equally sized columns in new cell array
Hi, I have a cell array (participants) with 19 cells (one cell for each participant). Within each cell there is a matrix with 2...

2 years ago | 1 answer | 0

1

answer

Question


Error using reshape when creating a new cell array in a loop
Hi, I have a cell array with 19 cells. Within each cell there is a matrix with 21 columns. Now I want to loop a piece of code o...

2 years ago | 1 answer | 0

1

answer

Question


Error when indexing 3D cell array: Index in position 2 exceeds array bounds
EDIT: more details provided by myself in the second comment Hi, I have a cell array with 19 cells. Within each cell there is...

2 years ago | 1 answer | 0

1

answer

Question


Save multiple columns of multiple csv files?
Hi, I have the following code: [file_list, path_n] = uigetfile('.csv', 'Grab csv', 'Multiselect', 'on') columns(); if ismatr...

2 years ago | 1 answer | 0

1

answer

Question


How to import files in bulk and loop over them
Hi, I am working with a large data set with csv files for different participants. I have a multilayered issue I am looking to ...

2 years ago | 1 answer | 0

1

answer

Question


How do I add a column to an existing matrix?
Hi I have this code here: [m,n] = size(windows); H = zeros(n,1); for i = 1:n r = windows(:,i); H(i) = dfaedit(r,1,1...

2 years ago | 1 answer | 0

1

answer

Question


How do I loop a fucntion over matrix columns and store the results in a column?
Hi, I have an issue writing a while loop correctly. I have a variable (R) with values that are stored in a matrix full of colum...

2 years ago | 1 answer | 0

1

answer

Question


How can I reshape single column vector list into equally sized matrix columns
Hi, I have a single column vector variable with a list of 26599 elements. I want to reshape this list into a matrix of equally...

2 years ago | 2 answers | 0

2

answers

Question


Why do I receive this error when using cumsum: "Invalid data type. First input argument must be numeric or logical." ?
Hi, I am a psychologist with very little experience in Matlab and am just trying to run a code (see attachment). The function i...

2 years ago | 2 answers | 0

2

answers