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

environ 2 ans il y a | 1 réponse | 0

1

réponse

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

environ 2 ans il y a | 1 réponse | 0

1

réponse

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

environ 2 ans il y a | 1 réponse | 0

1

réponse

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

environ 2 ans il y a | 1 réponse | 0

1

réponse

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

environ 2 ans il y a | 1 réponse | 0

1

réponse

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

plus de 2 ans il y a | 1 réponse | 0

1

réponse

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

plus de 2 ans il y a | 2 réponses | 0

2

réponses

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

plus de 2 ans il y a | 2 réponses | 0

2

réponses