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

8 Tage ago | 1 answer | 0

Question

Filling out one variable based on another

Hi, I am working with ECG signals and I am currently playing with the annotations. I have attached 2 files: comments.mat and ann...

11 Tage ago | 0 answers | 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...

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

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

etwa ein Monat 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 ...

etwa ein Monat 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...

etwa 2 Monate 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...

etwa 2 Monate ago | 0 answers | 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...

etwa 2 Monate 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 ...

etwa 2 Monate 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...

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

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

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

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

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

3 Monate 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,...

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

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

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

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

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

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

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

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

11 Monate ago | 0 answers | 0