Spline curves ( circular biarcs)

1 vue (au cours des 30 derniers jours)
N/A
N/A le 4 Oct 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.

Réponses (1)

Dr. Seis
Dr. Seis le 4 Oct 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.

Catégories

En savoir plus sur Splines dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by