Spline curves ( circular biarcs)

4 visualizaciones (últimos 30 días)
N/A
N/A el 4 de Oct. de 2011
Hi I am working on a project which requires some random data to be curve fitted using circular arcs or straight lines within a given tolerence range. Now the objective is to find the centre of the circle of each segment and the arc angles. I have tried using rscvn but am unable to understand the knots concept and am in need of urgent assistance.

Respuestas (1)

Dr. Seis
Dr. Seis el 4 de Oct. de 2011
As long as 3 points are not on a line, then these points will fall on a circle. A method I used (a long time ago) was to create a line between the first and second point, and a line between the second and thrid point. Next, draw a perpendicular line through the middle of the first line. Then, draw a perpendicular line through the middle of the second line. Where these lines intersect is the center of your circle.
I would ofter the code I used, but it isn't in Matlab and I am not even sure where it is.

Categorías

Más información sobre Splines en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by