Pregunta


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

casi 3 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

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

1

respuesta

Pregunta


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

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

1

respuesta

Pregunta


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

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

2

respuestas

Pregunta


Hello everyone, I would like to ask a question how to parameterize data points?
The method of parameterization of data points is as follows:

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

1

respuesta

Pregunta


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

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

1

respuesta

Pregunta


Hello everyone! When fitting a curve, the interval of curve x is [-3,3], and another fitted curve will exceed this interval. I don't know where the problem occurred in which piece of code.
code: load jizuobiao1.mat f1= fit(THETA11,RHO11,'smoothingspline','SmoothingParam',0.99);%smoothingspline plot(f1,THETA11,R...

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

0

respuestas

Pregunta


Hello everyone, how to write the code to calculate the similarity coefficient of two curves?Another problem is that when fitting a curve, the interval of a curve x is [-3,3], and it will exceed this interval when fitting a curve. I don’t know where t
code: load jizuobiao1.mat f1= fit(THETA11,RHO11,'smoothingspline','SmoothingParam',0.99);%smoothingspline plot(f1,THETA11,RHO...

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

1

respuesta

Pregunta


Hello everyone, how can I plot the following six curves on a graph? More importantly, compare the similarity of the six curves.
code: load jizuobiao1.mat f = fit(THETA1,RHO1,'smoothingspline','SmoothingParam',0.99); plot(f,THETA1,RHO1)

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

1

respuesta

Pregunta


Hello everyone, I would like to ask how to write the similarity code of two curves.
how to write the similarity code of two curves.

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

0

respuestas

Pregunta


Hello everyone, I would like to ask how to keep only the fitted curve and delete the data points in the picture below. The program is shown below, I don't know how to modify it.
code: load data.mat f1 = fit(THETA11,RHO11,'smoothingspline','SmoothingParam',0.99);%smoothingspline plot(f1,THETA11,RHO11)...

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

1

respuesta

Pregunta


How to use smoothing spline to fit a closed curve?
How to use smoothing spline to fit a closed curve?

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

2

respuestas

Pregunta


How to perform high-precision fitting of points on unknown trajectories? And calculate the fitting coefficient.
How to perform high-precision fitting of points on unknown trajectories? And calculate the fitting coefficient.

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

1

respuesta

Pregunta


Hello everyone! How can I rearrange the coordinates in the abscissa from largest to smallest?
Ao=[THETA,RHO]; xo=A(:,1); yo=A(:,2); [xo1,k]=sort(xo,'acend');

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Hello everyone. I would be very grateful if anyone can help to see if there is any problem with the centroid extracted by this program.
BW = imread('k.png'); s = regionprops(BW,'centroid'); centroids = cat(1,s.Centroid); imshow(BW) hold on plot(centroids(:,...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Hello everyone.How to modify the judgment code below and add'This is correct' and'This is wrong'?
lamda1=4; v=('This is correct');Ak = ('This is wrong'); if 0.125<lamda1<3 lamda1=v; else lamda1 =Ak; end

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to use the three points A1, A2, and B0 to calculate ∠A1B0A2?

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

2

respuestas

Respondida
How to divide an n×2 matrix into the coordinates of n points and save them separately?
The data file is this.

más de 3 años hace | 0

2

respuestas

Pregunta


Hello everyone, I now have a set of data. I would like to ask how to draw these scattered points in polar coordinates with the centroid point as the center.
It is difficult to draw a closed polar coordinate curve. load data1.mat x=data1(:,1);y=data1(:,2); hold on plot(centroids(...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


For my data, how should I edit it with this program?
clear all clc n=input('Enter no. of points '); w=input('Press 1 for entry through mouse or 2 for keyboard repectively-->'); ...

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

0

respuestas

Pregunta


As shown in the picture,how to fit discrete points to a closed curve?

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to use the method in this article I uploaded to write a program to fit a closed curve?
How to use the method in this article I uploaded to write a program to fit a closed curve?The required data and the article have...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Respondida
How to fit the data points into a closed curve?
For convenience, we use this data for closed curve fitting.

más de 3 años hace | 0

Respondida
How to fit the data points into a closed curve?
The curve you fit out is a bit larger than the original image. I am thinking of a fitting method that is more appropriate to the...

más de 3 años hace | 0

Cargar más