Question

Default learning rate and initial weights for trainscg neural network

Hi I am trying to train a neural network with trainscg function. and i want to know the default parameters for following: 1:...

ungefär 21 timmar ago | 0 answers | 0

Question

How to select 10% of a matrix with an increment of 10% until 80%

Hi I have a matrix x with size 200x353. I need to sleect 10% of the matrix with an incerement of 10% until 80%, so something li...

11 dagar ago | 1 answer | 0

Question

Leave one out of an array in a for loop

Dear all I have a program where i need to save one variable separately and concatenate i-1 elements in another variable (Then...

13 dagar ago | 0 answers | 0

Question

Select sample from an array

Hello I have an array of 200x259 samples. I need to make a new array of all the rows but for column i have to reject 3 samples ...

15 dagar ago | 1 answer | 0

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

11 månader 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...

11 månader 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...

11 månader 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 ...

12 månader 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...

12 månader 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,...

12 månader 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...

12 månader 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...

ungefär ett år 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...

ungefär ett år 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...

ungefär ett år 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...

ungefär ett år 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 ...

ungefär ett år 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...

ungefär ett år 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...

ungefär ett år 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...

ungefär ett år 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...

ungefär ett år 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...

ungefär ett år 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 ...

ungefär ett år 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...

ungefär ett år 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...

ungefär ett år 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 ...

ungefär ett år 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...

ungefär ett år 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...

mer än ett år 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 ...

mer än ett år 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, ...

mer än 2 år 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...

mer än 2 år ago | 1 answer | 0