# Cai Chin

**Statistics**

**MATLAB Answers**

**49** Questions

**0** Answers

RANK**217.741**

of 281.889

REPUTATION**0**

CONTRIBUTIONS

**49** Questions

**0** Answers

ANSWER ACCEPTANCE **
42.86%
**

VOTES RECEIVED**0**

RANK

of 19.064

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 134.261

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

How do I compare the accuracy of a neural network classifier model to a random classifier?

Hi, I am attempting to show that the binary predictions made by my bidirectional LSTM neural network classifier are statisticall...

meer dan 2 jaar ago | 1 answer | 0

### 1

answerQuestion

How do I replace elements in a vector with other vectors?

Hi, I am attempting to replace elements in the vectors seq1, 2 and 3 each with 12 numbers randomly chosen between 1 and 9. I hav...

meer dan 2 jaar ago | 1 answer | 0

### 1

answerQuestion

How do I randomise the order of cells in an array?

Hi, I am attempting to randomise the order of elements in cell arrays. One is a numerical cell array comprised of 1x300 doubles ...

meer dan 2 jaar ago | 1 answer | 0

### 1

answerQuestion

How do I solve error of 'expected input signal to be finite'?

Hi, I keep getting the error of 'Expected input signal to be finite' when I try and run the following code: XTrain_v = [repma...

meer dan 2 jaar ago | 0 answers | 0

### 0

answersQuestion

How do I replace elements of an array with letters?

Hi, I have an array called 'labels_I03' which is filled with zeros, and I am trying to replace the elements of this array with e...

meer dan 2 jaar ago | 1 answer | 0

### 1

answerQuestion

How do I find the indices of NaN values in a cell array?

Hi, I have a 3390 x 1 cell array containing 4 x 30 doubles. Some of these doubles contain NaN values which I would like to repla...

meer dan 2 jaar ago | 2 answers | 0

### 2

answersQuestion

How do I weight input data when training a neural network?

Hi, I have trained an LSTM neural network to classify ECG signals using data from several patients. I would now like to use this...

meer dan 2 jaar ago | 1 answer | 0

### 1

answerQuestion

How do I convert a double into a cell array?

Hi, I am attempting to convert a double called 'instantaneous_frequency_v' into a cell array. 'instantaneous_frequency_v' is cur...

meer dan 2 jaar ago | 1 answer | 0

### 1

answerQuestion

I keep getting NaN values when computing the mean and standard deviation of an array

Hi, I am attempting to calculate the mean of all the rows in a cell array called 'XTrain2_all' comprised of 4x30 doubles, howeve...

meer dan 2 jaar ago | 1 answer | 0

### 1

answerQuestion

How do I implement feature selection for training a neural network on time-dependent data?

Hi, I am trying to train a LSTM neural network to classify time-dependent 2-dimensional input signals derived from ECG's. I have...

meer dan 2 jaar ago | 0 answers | 0

### 0

answersQuestion

How do I replace elements in a vector with other vectors?

Hi, I am currently trying to replace the elements in a vector called 'seq1' with other vectors. seq1 has 12 numbers ranging from...

bijna 3 jaar ago | 2 answers | 0

### 2

answersQuestion

How do I implement feature extraction using time-frequency analysis

Hi, I am trying to train a LSTM neural network to classify time-dependent 2-dimensional input signals derived from ECG's. I have...

bijna 3 jaar ago | 1 answer | 0

### 1

answerQuestion

How do I concatenate 2 cell arrays?

Hi, I am attempting to concatenate 2 cell arrays such that the dimensions of the concatenated cell array are 2215 x 1, with each...

bijna 3 jaar ago | 1 answer | 0

### 1

answerQuestion

How to alter the dimensions of a cell array?

Hi, I am trying to alter the dimensions of my array so it meets the requirements for training of a neural network. At the moment...

bijna 3 jaar ago | 1 answer | 0

### 1

answerQuestion

How to create a categorical variable with a specified number of characters?

Hi, I am trying to create a vector called 'labels' which has 1883 'N's followed by 332 'A's. The code I am currently using just ...

bijna 3 jaar ago | 1 answer | 0

### 1

answerQuestion

How do I add values to an array on a conditional basis?

Hi, I am trying to add values to a pre-allocated array based on whether the row number belongs to a set of values. In this examp...

bijna 3 jaar ago | 1 answer | 0

### 1

answerQuestion

How do I concatenate multiple arrays?

Hi, I am trying to concatenate multiple arrays with different numbers of rows but the same number of columns. I would like to cr...

bijna 3 jaar ago | 1 answer | 0

### 1

answerQuestion

Is there any of training a neural network to recognise abnormal images in a sequence?

Hi, I am using MATLAB R2020a on a MacOS. I am currently analysing ECG signals to identify abnormal cycles in real-time on a cycl...

bijna 3 jaar ago | 0 answers | 0

### 0

answersQuestion

Is there any way to train a neural network to recognise abnormal images?

Hi, I am using MATLAB R2020a on a MacOS. I am analysing ECG signals in real-time on a cycle-by-cycle basis by plotting the co-or...

bijna 3 jaar ago | 1 answer | 0

### 1

answerQuestion

How do I train a deep learning algorithm to find the template for an image and then compare other images to this template?

Hi, I am using MATLAB R2020a on a MacOS. I am currently trying to detect abnormal phase-space trajectories in the 2D space on a ...

bijna 3 jaar ago | 1 answer | 0

### 1

answerQuestion

Is there any way of using machine learning for successive image comparison to a template?

Hi, I am using MATLAB R2020a on a MacOS. I am currently trying to detect abnormal phase-space trajectories in the 2D space on a ...

bijna 3 jaar ago | 2 answers | 0

### 2

answersQuestion

How do I translate a 2D shape to its centroid?

Hi, I am using MATLAB R2020a on a MacOS. I am attempting to translate the blue shape shown here about its centroid onto the oran...

bijna 3 jaar ago | 1 answer | 0

### 1

answerQuestion

How do I interpolate values within a while loop?

Hi, I am using MATLAB R2020a on a MacOS. I am trying to remove outliers in real-time from a vector called 'cycle_periods' in a w...

bijna 3 jaar ago | 1 answer | 0

### 1

answerQuestion

How do I make an if statement based on whether an index is part of a vector of numbers?

Hi, I am using MATLAB R2020a on a MacOS. I am trying to write an 'if' statement such that a command is executed if the index of ...

bijna 3 jaar ago | 1 answer | 0

### 1

answerQuestion

How do I linearly interpolate past missing values using future values in a while loop?

I am using MATLAB R2020a on a MacOS. I am trying to remove outlier values in a while loop. This involves calculating an exponen...

bijna 3 jaar ago | 0 answers | 0

### 0

answersQuestion

How do I extrapolate values in a while loop?

Hi, I am using MATLAB R2020a on a MacOS. I am trying to remove outlier values in a while loop. This involves calculating an expo...

bijna 3 jaar ago | 0 answers | 0

### 0

answersQuestion

How do I produce graphs from 'for' loop?

Hi, I am using MATLAB R2020a on a MacOS. I have specified the production of a graph within a 'for' loop but when I run the code,...

bijna 3 jaar ago | 1 answer | 0

### 1

answerQuestion

Why is my code running so slowly in the while loop?

Hi, I am using MATLAB R2020a on a MacOS. I am currently trying to calculate the exponentially weighted moving mean by applying a...

bijna 3 jaar ago | 1 answer | 0

### 1

answerQuestion

How do I resample to have a uniform number of samples for each cycle of my signal?

I am using MATLAB R2020a on a MacOS. I have an ECG signal with a sampling frequency of 1kHz. From cycle to cycle, there are a di...

bijna 3 jaar ago | 1 answer | 0

### 1

answerQuestion

How to replace past vector values using future values in a while loop?

Hi, I am using MATLAB R2020a. I am trying to identify outliers from a vector in real-time based on certain conditions and then r...

bijna 3 jaar ago | 0 answers | 0