Question

Message: "You cannot fit posterior probabilities when all scores are NaNs

Hi, I have attached a code where I use several classifiers with several different parameters. When I try to run the code with a...

6 maanden ago | 0 answers | 0

Question

Using ADASYN with three classes

Hi, I have a feature matrix where the first 456 columns are features and the last column is a label column. Because the datas...

6 maanden ago | 1 answer | 0

Question

Removing values from two different variables

Hi, I have attached two variables, AL.mat and QRS.mat. AL.mat is a 1x48 cell containing labels 0, 1 and 2. QRS.mat is also a 1x...

6 maanden ago | 1 answer | 0

Question

Remove zeros from a 3D array

Hi, I have a 3D array A = 90x38021x1633. The second dimension (38021) contains a lot of zeros as I have done zero padding befor...

6 maanden ago | 2 answers | 0

Question

Speeding up the computation

Hi, I have run the following code, which takes ages to complete. Even when I use high performance computers, after several days,...

7 maanden ago | 1 answer | 0

Question

ROC curve for the validation set

Hi, I am working on a classification problem, where I use 10-fold cross-validation. I have made the code for the ROC curve for ...

7 maanden ago | 1 answer | 0

Answered

num2cell out of memory

Hi, You are working with quite a large variable. I have tried the following n = rand(67,20838735); When running whos it says...

num2cell out of memory

Hi, You are working with quite a large variable. I have tried the following n = rand(67,20838735); When running whos it says...

8 maanden ago | 0

Answered

How do I solve Error using linspace Too many input arguments.

Hi, I just tried to write your code and it seems to work for me... Try to clear all variables in Workspace and run the code a...

How do I solve Error using linspace Too many input arguments.

Hi, I just tried to write your code and it seems to work for me... Try to clear all variables in Workspace and run the code a...

8 maanden ago | 0

| accepted

Question

Exporting model to classify new data

Hi, I have attached the code I use to classify my data. I use 16 different models. What I want to do is the following: I want...

8 maanden ago | 1 answer | 0

Question

Label segments based on percentage

Hi, I have a variable (AL_128 which I have attached). It is a 1x48 cell where each cell is a Ax20 matrix. The matrices contain ...

8 maanden ago | 2 answers | 0

Question

Converting from char to double

Hi, I have a 1x48 cell where each cell is a Ax1 cell with characters such as (N, (V etc. When I convert to double, I get double...

8 maanden ago | 1 answer | 0

Question

Tall arrays - how do they work

Hi, I am working with ECG signals with multiple leads. I stack the signal from the different leads in a tensor. The tensor vari...

8 maanden ago | 1 answer | 0

Question

Calculating median along specific dimension of 3D array

Hi, I have a 3D array (S) of size 75x31253x1523. If I was to calculate the median along the second axis (for each row) it would...

8 maanden ago | 1 answer | 0

Question

For loop with different length

Hello, I have a 1x10 cell (Var), where each cell is a 50*20000*A 3D array. I am trying to run the following code: for k = 1:N ...

9 maanden ago | 1 answer | 0

Question

Training a Variational Autoencoder on sine waves

Hi, I am trying to train a variational autoencoder on sine waves using the code from https://se.mathworks.com/help/deeplearning...

9 maanden ago | 0 answers | 0

Question

Training a Variational Autoencoder (VAE) on sine waves

Hi, I am trying to run a variational autoencoder according to the script in https://se.mathworks.com/help/deeplearning/examples...

9 maanden ago | 1 answer | 0

Question

Reshape multidimensional arrays - interpretation

Hi, I have a 5D array (X) with the following variables: A, B, C, D and E each having lengths 10, 4, 2, 1000 and 20. I have res...

9 maanden ago | 1 answer | 0

Question

Zero padding a 3d structure according to maximum length

Hi, I have a 1x24 cell containing tensors (3d structures) with sizes 90xYxZ. I want to pad zeros along the second dimension (Y...

9 maanden ago | 1 answer | 0

Question

How can I save a variable to external harddisk

Hi, I am trying to save two variables using the save function. However, this function saves the variables in the same folder as...

9 maanden ago | 1 answer | 0

Answered

Cell computations - for loop

Thank you. Your solution works! How can I do the same for the following (see attached image): RRIseg is a 1x48 cell containing ...

Cell computations - for loop

Thank you. Your solution works! How can I do the same for the following (see attached image): RRIseg is a 1x48 cell containing ...

10 maanden ago | 0

Question

Cell computations - for loop

Hi, I have a variable RRI, which is a 1x48 cell, each cell being matrices of different sizes. m = 0; for num = 1:length(RRI{1,...

10 maanden ago | 2 answers | 0

Answered

Derivative of cell with matrices

Well, sort of. I attach some screenshots of the variables and their content to make it easier to understand. As you can see on ...

Derivative of cell with matrices

Well, sort of. I attach some screenshots of the variables and their content to make it easier to understand. As you can see on ...

10 maanden ago | 0

Answered

Derivative of cell with matrices

Thanks for the help! I have an additional question: I have a variable y1, which is also a 1x48 cell. Each of these cells is a v...

Derivative of cell with matrices

Thanks for the help! I have an additional question: I have a variable y1, which is also a 1x48 cell. Each of these cells is a v...

10 maanden ago | 0

Question

Derivative of cell with matrices

Hi, I have a variable X which is a 1x48 cell containing matrices of sizes Ax128. The number of A differs between the matrices...

10 maanden ago | 3 answers | 0

Question

Dividing vector into segment

Hi, I have a variable A which is a 1x48 cell containing 48 vectors of different lengths (say vector 1 is 2500x1, vector 2 is 23...

10 maanden ago | 0 answers | 0

Question

Discrete Wavelet Transform (DWT)

Hi, I am working on ECG signal processing to detect atrial fibrillation and I am still quite new at the area. I have downloaded...

10 maanden ago | 1 answer | 0

Question

Create pulses with brackets

Hi, How can I create a pulse function with brackets in MATLAB. I have tried the following, but it obviously just gives 6 differ...

meer dan een jaar ago | 1 answer | 0

Question

Time-dependent parameter in ode solver

Hi, How can I implement a time-dependent parameter which is to be incorporated in the ode solver? The parameter is part of an e...

meer dan een jaar ago | 1 answer | 0

Question

How to implement pulse stimulus

Hi, I hope some of you can help me with my problem in Matlab. I am trying to reproduce results from a scientific paper, where ...

meer dan een jaar ago | 0 answers | 0