Question

Creating cell array for values in a signal vector that cross a certain threshold

I have a 1599 x 54 double matrix called aefm_4 were the columns represent observations (signals) and the rows represent time ste...

7 months ago | 1 answer | 0

Question

How to create datastore from cell array containing a lot of data?

I am trying to run an LSTM code with a frequency domain input with a cell array that is 184 x 1 called freqNorm. Each cell is a ...

9 months ago | 1 answer | 0

Question

How to split matrix data into training, validation and testing data based on a categorical label?

I have a 184 x 1 cell array called aefm_4 and each cell is 1 x 1599. Each row (184) has a corresponding categorical label in a s...

9 months ago | 1 answer | 0

Question

Why wont my LSTM training not surpass a 51.20% accuracy?

I am running an LSTM neural network. I have two inputs and want two output classifications. The two inputs are crack-related sig...

9 months ago | 1 answer | 0

Question

How to normalize rows of a matrix?

I have a matrix called aefm_1 that is 184 x 5119 where each row indicates a signal vector and each column is a time step and eac...

9 months ago | 2 answers | 0

Question

The accuracy on my LSTM deep learning neural network will not exceed 62.96%

I am training an LSTM network and the accuracy will not exceed 62.96% and I cannot figure out why. I have tried changing the num...

10 months ago | 1 answer | 0

Question

How can I add colors to a k-means gscatter plot based on a certain cluster?

I have a matrix called x that is nxp where n represents observations and p represents variables. I want to use the kmeans code t...

10 months ago | 1 answer | 0

Question

How to manipulate cell array values of arrays with different lengths?

I have a cell array of peaks from a dataset matrix that is 5119x102 called CH1WaveForm_1. I have found the peaks for certain val...

11 months ago | 1 answer | 0

Question

How to select numbers in a cell array?

I have a call array called newCell that is 1x6 and each cell is 5x1 as seen in the picture below. I want to say that for each ce...

11 months ago | 2 answers | 0

Question

How to create array from old array with values greater than a specified value?

I have a cell array called timePks as seen below. Each cell has a column of numbers and I want to create a new cell array with t...

11 months ago | 2 answers | 0

Question

How to find peaks in a for loop where the number of peaks are not the same for every vector in matrix?

I am trying to find the peaks and locations of vectors in the columns of a matrix (CH1WaveForm_1). Not every vector has the same...

11 months ago | 1 answer | 0

Question

How can I find rise time from an array of values that starts and ends at its steady state?

MATLAB says that if I use stepinfo for my code it will calculate rise time which is the "time it takes for the response to rise ...

12 months ago | 1 answer | 0