circle least square method
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello
I have already looked into the info on the least square method in matlab, but I do not understand how I'm supposed to program the code.
If I have a function similar to this:
x=0:.1:2
f=sin(x)
plot(sin(x))
hold on
How do I create a circle in my figure, which fits within 3 points on my function by using the least square method?
thanks for the support!
0 Kommentare
Antworten (1)
Jim Riggs
am 19 Apr. 2019
You don't need to use least squares to "fit" a circle to 3 points, because 3 points will uniquely define a single circle.
See the attached paper.
0 Kommentare
Siehe auch
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!