Community Profile

# Kong

Last seen: 2 years ago Active since 2020

#### Content Feed

View by

Question

How to calculate the average with "for loop"
Hello. I'm beginner at Matlab. I want to calculate the average of DTW distances using rows. For example, I have two datasets, ...

2 years ago | 1 answer | 0

### 1

Question

how to use for loop to compute a matrix
Hello. I'm a beginner at Matlab. I want to use for loop. I got data (25 x 12852) using this code. I want to concatenate the m...

3 years ago | 1 answer | 0

### 1

Question

Hello. I am using R2019a version. When I use opticalFlowFarneback, I got this error. I think that it's related to licence. Bu...

3 years ago | 1 answer | 0

### 1

Question

How to calculate Dynamic Time Warping (DTW) for each video file
Hello. I want to use video files for classification. Can I get an idea to compute Dynamic Time Warping (DTW) for each video (a...

3 years ago | 1 answer | 0

### 1

Question

How to change color in plot
Hello. I want to plot a graph. How can I use different 10 colors? There are just 8 colors in MATLAB. https://kr.mathworks.c...

3 years ago | 1 answer | 0

### 1

Question

How to plot data with classes
Hello. I'm a beginner in Matlab. I want to plot data with classes. X = 1305 x 6 Y = 1305 x 1 (class : 0,1,2,3,4,5,6) Could...

3 years ago | 2 answers | 0

### 2

Question

what is the 'NSMethod','exhaustive' k-nearest neighbor classifier
Hello. I am using the k-nearest neighbor classifier as the below code. Could you explain what 'NSMethod','exhaustive' are? Is...

3 years ago | 1 answer | 0

### 1

Question

How to plot line on graph
Hello. I want to plot a curve line. When I used this, I got the graph. I want to plot a red curve line without a blue stick. C...

3 years ago | 1 answer | 0

### 1

Question

How to label of CSV files
Hello. I am using CSV files. In this code, I read CSV files and adjust the row and column. I want to label the data. (bend -...

3 years ago | 0 answers | 0

### 0

Question

How to compute several means for same class
Hello. I want to use prototypical networks using an average of the same class. This link is very useful for me, but I didn't f...

3 years ago | 0 answers | 0

### 0

Question

How can I read video file (.avi)
Hello. I am trying to read video using "VideoReader" I attached test videos. There are two files. I can read "person01_boxin...

3 years ago | 1 answer | 0

### 1

Question

How to use the several average of same class
Hello. I have a data (90 x 2857), column 2857 is a label(class). I want to select 5 rows of the same classes randomly and comp...

3 years ago | 1 answer | 0

### 1

Question

How to use "for loop" to compute the accuracy and plot graph
Hello. I want to calculate the accuracy of each dimension' X(:,n), n = 1 ~ 1150 The shape of the data is 90x1150. I want to ge...

3 years ago | 0 answers | 0

### 0

Question

How to make feature vector using optical Flow
Hello. I want to get a feature vector using the optical Flow Farneback function. https://www.mathworks.com/help/vision/ref/opt...

3 years ago | 0 answers | 0

### 0

Question

How to reshape each matrix of cell
Hello. I want to reshape each matrix of cell. Using this code, I got the cell matrix. How can I reshape the matrix (1325 x180...

3 years ago | 1 answer | 0

### 1

Question

How to use softmax, Loss function(negative log probability) in classification
Hello. I want to classify videos. After computation of eucldean distance, I want to use softmax and Loss function(negative lo...

3 years ago | 1 answer | 0

### 1

Question

How to use calculate the several means of same class
Hello. I have a data (90 x 2857), column 2857 is a label(class). I'm using table function. I want to read rows of the same cl...

3 years ago | 1 answer | 0

### 1

Question

How to find the minimum number of row and column and concatenate to a matrix
Hello. When I used this code, I got the error. This is because the cell of Phi_NuMax has different matrix. Could you explai...

3 years ago | 1 answer | 0

### 1

Question

How to classify using PCA ("pcares" function)
Hello. I want to do a video classification. I found some function about PCA. https://www.mathworks.com/help/stats/pcares.htm...

3 years ago | 0 answers | 0

### 0

Question

Unable to perform assignment because brace indexing is not supported for variables of this type.
I am doing this code each frame of videos. Plese let me know how to fix this error. clear all close all %// read the vid...

3 years ago | 1 answer | 0

### 1

Question

How to process each frame of video using for loop and concatenate the result
Hello. I converted video to 3D image. (180 x 144 x 84 = width x Height x frames) I want to process each frame and concate...

3 years ago | 0 answers | 0

### 0

Question

How to video classification using feature extraction
Hello. I want to classify videos using several feature extraction. I used HOG(histogram of oriented gradients), optical flow as...

3 years ago | 1 answer | 0

### 1

Question

How to divide vector to matrix(same row and column)
Hello. I got some vector like (82580526 X 1) I want to divide this vector to matrix. The matrix have same row and column. (N x...

3 years ago | 2 answers | 0

### 2

Question

Can I use Computer Vision Toolbox in Matlab Online?
Hello. I am using Matlab Online. Can I use Computer Vision Toolbox in Matlab Online?

3 years ago | 1 answer | 0

### 1

Question

How to read CSV file and save the result to another CSV file
Hello. I have several CSV files. After processing each CSV file, I want to save each CSV file to other name using for loop. T...

3 years ago | 1 answer | 0

### 1

Question

How to convert matrix to CSV file
Hello. I want to convert matrix to CSV file. When I used this code, I got this result. I want to convert sequences{i} to each...

3 years ago | 1 answer | 0

### 1

Question

How to calculate dimension using PCA
Hello. I want to classify videos. After applying dimensionality reduction like PCA, I got this data. The original data : 2529...

3 years ago | 1 answer | 0

### 1

Question

How to use classification after PCA(dimensionality reduction)
Hello. I want to classify videos. The original data : 25290 x 25 After applying dimensionality reduction like PCA, I got this...

3 years ago | 1 answer | 0

### 1

Question

How to convert optical flow to feature matrix in videos
Hello. I want to classify videos using optical flow. After using this code, I got this result. Which data can I save as matri...

3 years ago | 1 answer | 0