Community Profile

photo

Wesley


Last seen: casi 2 años hace Con actividad desde 2020

Estadísticas

  • Thankful Level 4
  • Explorer

Ver insignias

Content Feed

Ver por

Pregunta


How to solve the distance between two sets of points. Thanks a lot for your answer.
How to solve the distance between two sets of points. Thanks a lot for your answer.

alrededor de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


I would like to ask how to perform nonlinear fitting with two fixed endpoints. Thank you very much for your answer.
The data is shown in the attachment

alrededor de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to use the x-axis coordinate as a reference in a set of data points, divide 5 coordinate points at equal intervals, and find these points. Thanks a lot for your answer.
How to use the x-axis coordinate as a reference in a set of data points, divide 5 coordinate points at equal intervals, and find...

alrededor de 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to fill closed curves. The code I wrote can't be implemented, I don't know how to correct it, thanks for the answer.
fig = openfig('biaozhunxinyuevv.fig'); fig = gcf; axObjs = fig.Children; dataObjs = axObjs.Children; xt= dataObjs(1).XData; ...

alrededor de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


An error occurred when calculating the correlation coefficient using "reduce_data_points" for two sets of data. Thanks for all the corrections.
When using "reduce_data_points" to calculate the correlation coefficient of two sets of data, "The index exceeds the number of a...

alrededor de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

casi 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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.

casi 3 años hace | 3 respuestas | 0

3

respuestas

Pregunta


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

casi 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 3 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

casi 3 años hace | 1 respuesta | 0

1

respuesta

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

casi 3 años hace | 0

Pregunta


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

casi 3 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

casi 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 3 años hace | 3 respuestas | 0

3

respuestas

Pregunta


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

casi 3 años hace | 0 respuestas | 0

0

respuestas

Cargar más