Question

How to calculate peak voltages of a waveform.?

I have an EEG potential waveform, which has multiple peaks (Positive and negative). I'm using the findpeaks function to find the...

3 Monate ago | 1 answer | 0

Question

How to take Mean of cell array ?

Hi I have a struct variable A with 1x15 cell, where each cell array is of variable size in it's 1st dimension and other two dim...

3 Monate ago | 1 answer | 0

Question

How to save data at each iteration in a cell array?

Hi, I have saved data sests where i have two variables of 3-D, A and B. I want to load it for each subject and save it in a cel...

3 Monate ago | 1 answer | 0

Question

Error using table.init (line 401) The VariableNames property must contain one name for each variable in the table.

Hi I am trying to save the variables in the form of .xls table but it gives the following error: Error using table.init (line ...

4 Monate ago | 1 answer | 0

Question

How can I test a trained Neural Network Model on new test data?

Hi, I am trying to test a trined NN model in MATLAB but it's giving the wrong output. I have trained the model on input of or...

4 Monate ago | 0 answers | 0

Question

How to process files of a particular order in MATLAB?

Hi I have saved data for multiple subject's, multiple sessions with the following name format: Sub1_S1_Epochs,Sub1_S2_Epochs,...

4 Monate ago | 1 answer | 0

Question

How to test neural network trained model?

Hi I am using NN for classification purpose, i know how to do this for one subject, by didviding the data in training:testing...

4 Monate ago | 1 answer | 0

Question

Dot indexing is not supported for variable of this type.

Hi all, I want to use EEGLAb function to remove the epochs with a value greater than +-150uV in the time interval of 0-0.8ms. I...

4 Monate ago | 2 answers | 0

Question

Save variables in a folder

Hi, I have written a code to extract 'epochs' from 'data'. I need to save 'ErrPsEpochs' and 'NonErrPsEpochs' for each subject a...

4 Monate ago | 1 answer | 0

Question

Calculate mean of an array in time windows.

Hi i have EEG data recorded at 1200hz from 5 channels, for 10 repetitions, and i need to calculate mean of each 1s signal in 10...

6 Monate ago | 1 answer | 0

Question

Spectrogram of EEG Signal

Hello I have EEG signals which i need to classify, for that i need to change the EEG signals to the Images, i.e by taking spect...

7 Monate ago | 0 answers | 0

Question

Maximum number of input neurons to the neural network

Hi, I have EEG data to classify, for 2 classes. The data dimesnion is 30000x512. Where 512 is the number of samples (50:50 for ...

7 Monate ago | 1 answer | 0

Question

How to save a neural network to test on a new dataset?

Hi, I am using the following code to train and test NN for 2-class classification. I need to save the trained network to test o...

7 Monate ago | 1 answer | 0

Question

How to prepare the Input for feedforward neural network?

Hi All, I have to use feedforward neural network for 2-class classification problem. I have EEG data (of 1s, recorded at the sa...

7 Monate ago | 1 answer | 0

Question

Repeat 3-D array elements

Hi I have a 3-d array x of size 67x960x80. I need to repeat the elements of the array 3 times to make it an array of size 67x96...

7 Monate ago | 1 answer | 0

Question

Index must be a positive integer less than or equal to the number of test sets.

Hi i'm trying to create 10-fold cross validation for my CNN. To create the 10 batches I'm using a for loop, but it's giving thi...

7 Monate ago | 1 answer | 0

Question

'Index must be a positive integer less than or equal to the number of test sets.'

Hi i'm trying to create 10-fold cross validation for my CNN. To creat the 10 batches i'm using for loop, but it's giving this e...

7 Monate ago | 0 answers | 0

Question

Divide the matrix randomly, based on columns

Hi I have a matrix x of size 78000x204. I need to divide it into nonoverlapping but random 70:15:15 percent of the data, based ...

7 Monate ago | 1 answer | 0

Question

Shuffle the rows a matrix

Hi I have a matrix x of size 512x3600, and another matrix y=512x1, I need to shuffle the entire rows of matrix x and alement of...

7 Monate ago | 1 answer | 0

Question

String to Categorical array

Hi I have an array of x=[zeros(1,120) ones(1,240)]; I want to convert it into a categorical array of 'Z' of size 1x120 and 'O...

7 Monate ago | 1 answer | 0

Question

COnvert 3d matrix to 2D

I have a matrix of x=1200x30x410, i need to change it to 2D as x=3600x410. How to do that.? it gives an error by using reshape ...

7 Monate ago | 1 answer | 0

Question

CNN for EEG 2-class pattern classification

Hi I am new to using the deep learning for classifcation so i have some basic questions, i will highly appreciate if anyone ca...

7 Monate ago | 1 answer | 0

Answered

Boxplot for multiple categorical data sets

Hi Cris, Thanks a lot for the reply. Second function works okay for me but i have a few more pointers, i'll highly appreciat...

Boxplot for multiple categorical data sets

Hi Cris, Thanks a lot for the reply. Second function works okay for me but i have a few more pointers, i'll highly appreciat...

8 Monate ago | 0

Question

Boxplot for multiple categorical data sets

Hi I want to plot the Boxplots for 3 repeated variables collected for 4 data sets, where each data set has 15x3 values. So i ...

8 Monate ago | 3 answers | 0

Question

How to use an if else statement to choose one specific variable?

Hi I have a variable 'tf', in the form of 1s and 0s. tf= [1 0 0 0 1 1 0 1 1]; Now there is this 2nd variable which is tf2, ...

mehr als ein Jahr ago | 1 answer | 0

Question

How to calculate PSD estimate of EMG data in 1Hz frequency bins for 100ms time windows.?

hi, I have EEG signals of 1sec, and i want to calculate PSD in 1hz frequency bins for 100ms time windows. any advice will be...

mehr als ein Jahr ago | 1 answer | 0

Question

How to plot Average of several plots( combined using copyobj) ?

Hi Everyone, I have data sets of multiple subjects, and i plotted the desired output of each subject in separate plots. Then i ...

fast 2 Jahre ago | 1 answer | 0

Answered

How i can find the specific threshold levels.? With 'peakdetection' i can find the specific peaks but how to find particular threshold such as greater than 2,3,4 and 6.? in one large data set.

Yeah sure. In this data set i need to separate the threshold/peaks of same groups.

How i can find the specific threshold levels.? With 'peakdetection' i can find the specific peaks but how to find particular threshold such as greater than 2,3,4 and 6.? in one large data set.

Yeah sure. In this data set i need to separate the threshold/peaks of same groups.

etwa 2 Jahre ago | 0

Question

How i can find the specific threshold levels.? With 'peakdetection' i can find the specific peaks but how to find particular threshold such as greater than 2,3,4 and 6.? in one large data set.

How i can find the specific threshold levels.? With 'peakdetection' i can find the specific peaks but how to find particular thr...

etwa 2 Jahre ago | 1 answer | 0