Community Profile

photo

lil brain


Last seen: 6 jours il y a Actif depuis 2022

Statistics

  • Thankful Level 4

Afficher les badges

Content Feed

Afficher par

Question


How do I cut the columns in a cell of a cell array according to values in a numerical array?
Hi, I have the following problem at hand: I have a cell array called alldata with 24 cells. The first column in each cell of a...

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

1

réponse

Question


Why does Matlab turn values of 100 into 1 when importing from csv files?
Hi, I use the following code to import data from csv files. [file_list,path_n] = uigetfile('*.csv', 'Grab csv', 'Multiselect'...

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

0

réponse

Question


Error using discretize: Bin edges must be a vector that is real, numeric or logical, and monotonically increasing.
Hi, I have the following code: N = numel(newdata); split_newdata = cell(1,N); split_newdata_mean = cell(1,N); for ii = 1:N...

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

1

réponse

Question


Why are some csv files imported incorrectly into my cell array?
Hi, I have a cell array called alldata whcih contains the contents of 24 csv files. However, when importing these files I can s...

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

1

réponse

Question


How do I remove "nested/deeper" layers of a cell?
Hi, I have a cell called new_mat that has 2 levels (if I double click on a cell then another cell with the same value opens). I...

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

1

réponse

Question


How do I average columns in cell array if some cells are empty?
Hi, I have a cell array called new_mat. I would like to compute the mean of all the values in each column and save the result i...

environ 2 mois il y a | 2 réponses | 0

2

réponses

Question


How do I average all the values for each column in a cell array?
Hi, I have a cell array called new_mat. I would like to compute the mean of all the values in each column and save the result i...

environ 2 mois il y a | 2 réponses | 0

2

réponses

Question


How do I convert a cell array with multiple values per cell into a numerical array with multiple rows?
Hi, I have a cell array called split_newdata_mean which contains multiple cells. Each of these cells contains five values in fi...

environ 2 mois il y a | 2 réponses | 0

2

réponses

Question


How do I compare the order of rows in cell array with a matrix?
Hi, I have a numerical array called split_points_rounded and a cell array called valid_high_IDs. The first column of split_poin...

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

1

réponse

Question


How do I compare values in a cell array with values in another array and split the columns accordingly?
Hi, I have a cell array called newdata. Each cell contains two columns. The first contains seconds and the first column contain...

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

1

réponse

Question


Error: Left and right key variables are not comparable because one is a non-cell
Hi, I have two tables which I want to join using the join() function. However, when I try to join them together like so: load ...

6 mois il y a | 1 réponse | 0

0

réponse

Question


How do I sort an array according to the first column?
Hi, I have a cell array which I would like to sort according to the first column. But when I try using high_emp_sort = sort(h...

6 mois il y a | 1 réponse | 0

1

réponse

Question


How do I concatenate cell arrays and line up the rows according to matching items in a column?
Hi, I have a few arrays (results from different tests) that all have the same first column (list of the participant IDs that pe...

6 mois il y a | 1 réponse | 0

0

réponse

Question


How do I index individual columns in an array?
Hi, I have a fairly basic question that I cant seem to solve. I have an array "high_perspective_taking" which has values from ...

7 mois il y a | 1 réponse | 0

1

réponse

Question


How do I only keep the rows that match the values of the rows in a different list?
Hi, I have this large cell array (low_condition) that contains participant IDs in the first row. I have a second list of IDs (v...

7 mois il y a | 1 réponse | 0

1

réponse

Question


How can I skip empty cells when averaging during a function?
Hi, I have a function in which I average the values of the doubles within each cell of a cell array. for i = 1:length(explaine...

8 mois il y a | 1 réponse | 0

1

réponse

Question


Anybody here familiar with detrended fluctuation analysis (DFA)?
To those who are familiar with detrended fluctuation, I am trying to figure out why the result of running a detrended fluctuati...

8 mois il y a | 1 réponse | 0

0

réponse

Question


Problem when using fitrm() function for ANOVA and getting an incomplete output
Hi, for clarity, I have a data set with 36 participants in two conditions called "high and low (18 per condition). In each co...

9 mois il y a | 1 réponse | 0

1

réponse

Question


How do I save multiple PCA results in a cell array? Error: Brace indexing not supported
Hi, I have this raw data set which includes 18 participants. Each participants raw data (21 columns) is saved in a cell. I woul...

9 mois il y a | 1 réponse | 0

1

réponse

Question


How do I correctly apply fitrm?
Hi, I have a data set with two conditions ("H" and "L") and 36 participants. Each participant was measured five times in phases...

9 mois il y a | 1 réponse | 0

0

réponse

Question


Why do I get the error "Undefined function 'fitrm' for input arguments of type 'table' " ?
Hi, I am running into the following error when running the following code: condition = ... ['H' 'H' 'H' 'H' 'H' 'H' 'H' '...

9 mois il y a | 1 réponse | 0

1

réponse

Question


What does it mean to take the absolute of an complex number? And why is it always positive?
Hi, I have a number which is part imaginary or complex. -0.993061325012476 + 1.03511742045580e-16i When I use the function ab...

10 mois il y a | 3 réponses | 0

3

réponses

Question


Why do I get a different result when running code in editor vs. in command window?
Hi, I have a very strange bug which I cant seem to fix. When I run the following code in either the editor or the command windo...

10 mois il y a | 1 réponse | 0

0

réponse

Question


How do I calculate the acceleration using only 3D distances?
Hi, I have a list of distances in each cell of acc_dist . The first three columns in each cell are xyz coordinates. So column o...

10 mois il y a | 1 réponse | 0

1

réponse

Question


How do I average individual values across multiple cells?
Hi, I have a cell array with multiple cells. I would like to average the values inside of each cell with the values inside of a...

10 mois il y a | 1 réponse | 0

1

réponse

Question


Does it make sense to average principal components?
Hi, I have ran a PCA on several participants data sets and would like to get a list of averaged principal components for my ent...

10 mois il y a | 1 réponse | 0

0

réponse

Question


(PCA) How do I find out if principal components (number of significant coefficients) change over time?
Hi, I have an experiement where I am expecting a dimensionality reduction over time. In this experiment there are five phases. ...

10 mois il y a | 1 réponse | 0

1

réponse

Question


How do I convert my cell array into a cell array of doubles?
Hi, I have a cell array of cells (see attachment) and need to covert each of the cells into numeric arrays for further processi...

10 mois il y a | 1 réponse | 0

1

réponse

Question


How can I run PCA on a 3-dimensional cell arrays?
Hi, I have a cell array (see attachment) where each cell contains an array with 21 columns (variables). Each cell represents a ...

10 mois il y a | 1 réponse | 0

0

réponse

Question


How do I run PCA on multiple cell arrays
Hi, I have a cell array (see attachment) where each cell contains an array with 21 columns (variables). Each cell represents a ...

10 mois il y a | 1 réponse | 0

1

réponse

Charger plus