Question

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

10 månader ago | 0 answers | 0

Question

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

10 månader ago | 1 answer | 0

Question

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)

10 månader ago | 1 answer | 0

Question

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.

10 månader ago | 0 answers | 0

Question

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

10 månader ago | 1 answer | 0

Question

How to use smoothing spline to fit a closed curve?

How to use smoothing spline to fit a closed curve?

10 månader ago | 2 answers | 0

Question

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.

10 månader ago | 1 answer | 0

Question

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

10 månader ago | 1 answer | 0

Question

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(:,...

11 månader ago | 1 answer | 0

Question

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

11 månader ago | 1 answer | 0

Question

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

11 månader ago | 2 answers | 0

Question

For a matrix with an unknown number of rows, how to find the number of rows n and transform it into n matrices.

11 månader ago | 2 answers | 0

Question

Hello everyone. I want to ask a question. How to filter out the two largest y values in multiple sets of coordinate data and save the two coordinate points?

11 månader ago | 1 answer | 0

Answered

How to divide an n×2 matrix into the coordinates of n points and save them separately?

The data file is this.

How to divide an n×2 matrix into the coordinates of n points and save them separately?

The data file is this.

11 månader ago | 0

Question

How to divide an n×2 matrix into the coordinates of n points and save them separately?

11 månader ago | 2 answers | 0

Question

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

11 månader ago | 1 answer | 0

Question

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

11 månader ago | 0 answers | 0

Question

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

11 månader ago | 1 answer | 0

Question

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

11 månader ago | 1 answer | 0

Answered

How to fit the data points into a closed curve?

For convenience, we use this data for closed curve fitting.

How to fit the data points into a closed curve?

For convenience, we use this data for closed curve fitting.

11 månader ago | 0

Answered

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

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

11 månader ago | 0

Question

How to fit the data points into a closed curve?

Hello everyone, I’d like to ask you a question. Now I have a series of data points and want to fit these points into a closed cu...

11 månader ago | 3 answers | 0

Question

How to find the three extreme points of the curve as shown in the figure, and find the degrees of each angle of the triangle surrounded by the three points.

How to find the three extreme points of the curve as shown in the figure, and find the degrees of each angle of the triangle sur...

11 månader ago | 2 answers | 0

Question

How to use the edge function to extract a curve from the photo, and then draw this curve on the coordinate system, and finally smooth the curve.

How to use the edge function to extract a curve from the photo, and then draw this curve on the coordinate system, and finally s...

11 månader ago | 1 answer | 0

Question

How to extract photos from video at equal intervals？

I shot the video while doing the experiment.When processing video, I need to extract pictures of 10 seconds, 20 seconds, 30 seco...

12 månader ago | 1 answer | 0