Question

how to omitt columns with only nan values when calculating means across mutiple tables?

Hi all, I have a 21x1 cell with 100x 18 tables I am calcuating mean of: row 1, column1, all tables row 2, column1, all table...

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

Question

How to calculate a mean of column one across multiple tables?

Hi all, I have a 21x1 cell with 100x 18 tables (attached). What I am seeking to do is to calcuate mean of: row 1, column1, ...

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

Question

How to ignore certain columns in a matrix when calculating a mean across all columns in a matrix?

Hi all, I have a 100x16 double matrix (attached) which when plotted over one figure looks like this. Now, I want to calcula...

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

Question

How to compare columns from two data sets in a loop

Hi all, I want to compare columns from two data sets in a loop using the ICC function. Is there a way to simplify what I am doi...

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

Question

How to save to a csv file?

Hi all, I have 20 folders with mutiple mat files which are 1 x 1 structures with a 1 x 54 table as in the image below (showing...

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

Question

How to combine multiple tables from diffrent folders and save as on table?

Hi all, I have 20 folders with mutiple mat files which are 1 x 1 structures with a 1 x 54 table. I managed to list all folder...

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

Question

How to 'flip/reverse' the signal?

Hi all, I have a signal like this (attached). This is sensor orientation data in z dimension during human walking. I am extr...

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

Question

how to select last elements of a row vector?

Hi all, I have a row vector: j = [593,660,725,790,854,919,984,1050,1118,1184, 1300, 1400, 1500, 1600] I want to select last 5...

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

Question

How to flip a signal ?

Hi all, I have an acceleration signal during human walking (walk forward, turn around, walk back). The attached is the 24x1 c...

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

Question

How to calculate absolute mean across numerical array

Hi all, I have an array of 100x24 double. I want to calculate absolute mean so the output is 100x1 double. Can you help please?...

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

Question

How to split a column with numerical values?

Hi all, I have a 1x72 structure with one column containing three numerical values (attched). I would like to convert it int...

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

Question

How to improve my inefficient code?

Hi all, I have a 21x288 table (attached). I have a function that compares the variables and calculates the ICC (attached)....

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

Question

How to run a function over a specified set of variables in a table?

Hi all, I have a 21x288 table (attached). I have a function that compares the variables and calculates the interclass corre...

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

Question

Can my code be written in a more efficient way?

Hi all, I have written a code that aims to collate mutiple mat files in one mat files per trial (15 trials). See below. Can thi...

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

Question

How to merge two lists of files?

Hi all, I have two list of files (4x1 struct) likes this: I would like the output to be the two lists merged in this way: ...

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

Question

How to list the directories of multiple folders?

Hi all, I have a number of folders that I would like to list and later access the files from them. Currently, I do it in this w...

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

Question

How to plot (over one figure) one variable from each table located in 20 diffrent folders?

Hi all, I have 20 folders. In each folder there is a table. Each table contains variable 'x'. I would like to plot variable x f...

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

Question

How to convert table to a csv file and save it in a remote location?

Hi all, I have a 1x72 table (attached) that I would like to convert to a csv file and save in a specific folder location. I ca...

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

Question

How to calculate mean across the elements of a cell?

I have a 7 x 1 cell(attached) with elements in the following dimensions I want to calcuate the mean across seven rows so my o...

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

Question

How to apply butterworth filter to a cell array?

Hi all, I have a 7x1 cell for which I would like to apply a butterworth filter to all cell arrays. Any idea how to do it? filt...

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

Question

How to apply butterworth filter to a cell array?

Hi all, I have a 7x1 cell for which I would like to apply a butterworth filter to all cell arrays. Any idea how to do it? Than...

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

Question

How to apply butterworth filter to a few columns in a table

I have a 600X10 table. I want to apply butterworth filter for columns from 4 till 9 using this which gives me error: tab_pelv...

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

Question

How to delete certain number of rows in each variable contained in a table which is contained in a structure?

Hi all, I have a structure with 5 tables 1300x10 I want to delete first 400 rows from each variable in a table. Can you help ...

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

Question

Signal processing - difficult. How to extract specific parts of the signal identified via findpeaks?

Hi all, I have a signal (attached) which is a sensor orientation y during human walking. I have identified certain indices in t...

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

Question

How to deal with Index exceeds the number of array elements??

Hi all, I have a structure with tables (attached) which are diffrent signals collected at the same time with five sensors. Alth...

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

Question

How to interpolate data in cells?

Hi, I have data concentrated in 7x 1 cell (attached). I want to interpolate each array to 100 data points using the following...

presque 3 ans il y a | 1 réponse | 0

Question

How to deal with Index exceeds the number of array elements ?

Hi all, I have a signal like this (also attached). I want to extract signal between first start and first end, second start ...

presque 3 ans il y a | 2 réponses | 0

Question

How to identify first local minima before the main peak?

Hi all, I am having a trouble with identifing first local minima (red stars in the image below) before the main peak (blue sta...

presque 3 ans il y a | 1 réponse | 0

Question

How to discard beginning and end of the signal when extracting elements of the signal identified via findpeaks?

Hi all, I have a 'good looking'signal like this: I am extracting parts of the signal between first red and first green, seco...

presque 3 ans il y a | 1 réponse | 0

Question

How to find first index before main peak in a signal ?

Hi all, I have a signal ( see figure an attached). I want to identify loactions and values of indices circled bold black (firs...

presque 3 ans il y a | 1 réponse | 0