**Statistics**

RANK**169,964**

of 244,426

REPUTATION**0**

CONTRIBUTIONS

**50** Questions

**6** Answers

ANSWER ACCEPTANCE **
42.0%
**

VOTES RECEIVED**0**

RANK

of 17,075

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

Hello everyone, now there are 2 sets of data, one set of data is a 2×198 matrix, and the other set of data is a 2×361 matrix. How to use pca to make 2 sets of data are 2×100 m

Hello everyone, now there are 2 sets of data, one set of data is a 2×198 matrix, and the other set of data is a 2×361 matrix. Ho...

2 months ago | 0 answers | 0

### 0

answersQuestion

Hello everyone, how to record and save the coordinates of each image centroid point in a matrix in 'for loop'. Thank you very much. The code is as follows:

Hello everyone, how to record and save the coordinates of each image centroid point in a matrix.There are some problems in cur...

5 months ago | 1 answer | 0

### 1

answerQuestion

hello everyone. How to make the direction of points drawn on Cartesian coordinate system consistent with that drawn on binary image.

Hello everyone. How to make the direction of points drawn on Cartesian coordinate system consistent with that drawn on binary im...

5 months ago | 1 answer | 0

### 1

answerQuestion

hello everyone. How to divide a group of points named data into two parts, dataA and dataB, as shown in the figure. Thank you very much.

5 months ago | 2 answers | 0

### 2

answershello everyone. I would like to ask which part of the code written below is wrong. There are two steps: 1. Add a zero matrix of N rows and 2 columns to a matrix; 2. Remove the zero matrix of N rows and 2 columns from a matrix. Thank you very much.

dataC(dataC==[0,0])=[]; Using this code, the original matrix is changed from two columns to one, and how to correct it.

5 months ago | 0

Question

hello everyone. I would like to ask which part of the code written below is wrong. There are two steps: 1. Add a zero matrix of N rows and 2 columns to a matrix; 2. Remove the zero matrix of N rows and 2 columns from a matrix. Thank you very much.

[ma,na] = size(dataC); [mb,nb] = size(dataD); if ma>=mb out1= zeros((ma-mb),2); dataD1=[dataD;out1...

5 months ago | 1 answer | 0

### 1

answerQuestion

Hello everyone. I would like to ask you two questions. The first problem: know A = [0.4,0.9], B = [2,9], and find the linear equation through A and B. The second problem: how to remove all zeros in a matrix. D=[1 2 3; 1 7 2; 6 2 7,0 0 0,0 0 0].

I would like to ask you two questions. The first problem: know A = [0.4,0.9], B = [2,9], and find the linear equation through A...

5 months ago | 1 answer | 0

### 1

answerQuestion

Hello everyone. How to make a matrix with unequal number of rows and columns, and make the number of rows and columns the same by adding zeros. Thank you very much.

How to make a matrix with unequal number of rows and columns, and make the number of rows and columns the same by adding zeros.

5 months ago | 3 answers | 0

### 3

answersQuestion

Hello everyone. Now I come across such a problem: given the coordinates of all points of the closed curve acbd, now I want to find all points of the curve ACB and save them. The code I write is as follows, but there are always mistakes. I

Where M0 is the set of all points. CODE: dc=centroids(:,2); idx2=MO(:,1)>=-50; idx3=MO(:,1)<=100; idx4=MO(:,2)>=dc...

5 months ago | 1 answer | 0

### 1

answerQuestion

hello everyone. Now I have compiled a program code to extract the data from the dotted line. But the code has run in a state, I hope you can help to see where the error is. Thank you very much.

CODE: idx2= MO(:,1)>=min(xx) & MO(:,1)<=max(xx) & MO(:,2)>=centroids(:,2); %The range between abscissa of A1 and A2 is the b...

5 months ago | 0 answers | 0

### 0

answersQuestion

Hello everyone. I would like to ask that how to use for loop statement to import. Mat file.Thanks a lot.

for Q= 1:numel(s) % dunedata= dlmread(['M' num2str(Q) '.mat']); filename = '['M' num2str(Q) '.mat']'; m = matfile(filen...

5 months ago | 1 answer | 0

### 1

answerQuestion

Hello, everyone, I would like to ask how to transform the image curve drawn with the original image corresponding to the curve coordinates. Thank you very much for your answers.

5 months ago | 1 answer | 0

### 1

answerHello everyone, I would like to ask you that how to write code to remove the background of the picture.Thanks a lot.

Thank you very much for answering my question. Compared with the original image, the difference between the image extracted by t...

5 months ago | 0

Question

Hello everyone.I would to ask a question. When processing video, how to read an image every second.

v = VideoReader('exampleVideo.mp4'); time = [10, 20, 30, 40, 50]; %How to automatically read the image corresponding to each s...

5 months ago | 0 answers | 0

### 0

answersQuestion

Hello everyone, I would like to ask you that how to write code to remove the background of the picture.Thanks a lot.

5 months ago | 2 answers | 0

### 2

answersQuestion

Hello everyone, I would like to ask that how to modify the following code. It includes bwlabel function and regionprops. I don't know where the code is wrong.

BW21=imread('m1.jpg'); %Step 1: Label each object using the following code. ppp = imbinarize(BW21); % be sure your image is...

5 months ago | 1 answer | 0

### 1

answerQuestion

hello everyone. I would like to ask how to use the loop statement batch save picture and import pictures. The names of the pictures are: 1.jpg; 2.jpg； 3.jpg；... Thank you very much.

Save picture: Folder = 'C:\Users\wenhuaiyu\Desktop\'; for k=1:numel(s) Obj=(L==k);% imwrite(Obj, fullfile(Folder, sp...

5 months ago | 1 answer | 0

### 1

answerQuestion

Hello everyone.I would like to ask you how to extract the data of a local area of a picture. The code I wrote is shown below. Please help me correct the mistakes. Thank you all.

BW21=imread('m1.jpg'); % stats = regionprops(BW21,'Area','Centroid');%binaryImage % % %props = regionprops(B...

5 months ago | 3 answers | 0

### 3

answersQuestion

How to completely delete a very small area, the eyes do not look at it, you can see the picture after zooming in.

Enlarged area:

5 months ago | 1 answer | 0

### 1

answerQuestion

Hello, everyone, as shown in the figure below, how to use the tangent L of point A as the y'axis direction, and the direction perpendicular to the y'axis as the x'axis. Establish such a coordinate system to facilitate local analysis.

6 months ago | 0 answers | 0

### 0

answersQuestion

When running the program, an error like "The function or variable'getLoc' cannot be recognized" is displayed.Everyone, please help to see if there is any problem, thank you very much!

CODE: close all clear clc %%set up video reader and player videoFReader=vision.VideoFileReader('Dune.MP4',... 'Vide...

6 months ago | 0 answers | 0

### 0

answersQuestion

How can I modify the code to count the number of particles leaking from the white sand pile? The video is Dune video 1.zip.

MATLAB CODE: %% Slider Effect in a Video % This example shows how to create the slider effect in a video. One part % of it...

7 months ago | 0 answers | 0

### 0

answersQuestion

Hello everyone. For example, how to identify a specific point in an image in a moving video as follows. The required video is also uploaded in zip format. If you are interested, you can discuss with me. Thank you all very much.

The video screenshot is as follows：

7 months ago | 2 answers | 0

### 2

answersQuestion

Hello everyone, I would like to ask a question. The question is as follows: how to draw a five-pointed star and a square on a point.

MATLAB code： x=[25 30 35 40 45 50 55]; y1=[3.48 3.42 3.32 3.28 3.1 2.93 2.88]; y2=[12.5 13.4 14.3 15.2 17.1 17.9 18.5]; hold...

7 months ago | 1 answer | 0

### 1

answerQuestion

Hello everyone. I have a long-standing problem, how to calculate the similarity between the two curves that have been fitted. Thank you for your enthusiastic answers.

corrcoef(f1,f2) corr2(f1,f2)

9 months ago | 0 answers | 0

### 0

answersQuestion

I have encountered a problem and would like to ask everyone to help solve it. The problem to be solved is how to close the following two fitted curves. Thank you very much for your enthusiastic answers.

My code: load dataA.mat %x1=dataA(:,1); %y1=dataA(:,2); f1 = fit(xAbove,yAbove,'smoothingspline','SmoothingParam',0.0001);...

9 months ago | 1 answer | 0

### 1

answerQuestion

Hello everyone, how do you fit two curves into a closed curve?My code is as follows.

load dataA.mat %x1=dataA(:,1); %y1=dataA(:,2); f1 = fit(xAbove,yAbove,'smoothingspline','SmoothingParam',0.0001);%smoothingsp...

9 months ago | 2 answers | 0

### 2

answersQuestion

Hello everyone, how to divide a piece of data into upper and lower parts along the y-axis with C point and D point as the boundary?

9 months ago | 2 answers | 0

### 2

answersQuestion

Hello everyone, I would like to ask a question how to parameterize data points?

The method of parameterization of data points is as follows:

9 months ago | 1 answer | 0

### 1

answerQuestion

Hello everyone, I would like to ask a question. How to plot only the (-pi:+pi) range of the following curve.

load jizuobiao1.mat XX1=[THETA11;RHO11]; THETA11=linspace(-pi,+pi,length(RHO11))'; f1 = fit(THETA11,RHO11,'smoothingspline','...

10 months ago | 1 answer | 0