Matlab椭圆拟合函数

时间:2012-06-25 15:41:57
【文件属性】:
文件名称:Matlab椭圆拟合函数
文件大小:3KB
文件格式:NONE
更新时间:2012-06-25 15:41:57
ellipsefit function [varargout]=ellipsefit(x,y) %ELLIPSEFIT Stable Direct Least Squares Ellipse Fit to Data. % [Xc,Yc,A,B,Phi,P]=ELLIPSEFIT(X,Y) finds the least squares ellipse that % best fits the data in X and Y. X and Y must have at least 5 data points. % Xc and Yc are the x- and y-axis center of the ellipse respectively. % A and B are the major and minor axis of the ellipse respectively. % Phi is the radian angle of the major axis with respect to the x-axis. % P is a vector containing the general conic parameters of the ellipse.

网友评论

  • 很有用,感谢!
  • 运行了,能拟合出来。
  • 很好!我试了可以运行!
  • 资源不错,相当好用,
  • 这个很好用,没具体看里面的代码,只是想拟合一个椭圆,然后用这个函数轻松完成
  • 不错,相当好用,要是把周长覆盖度还有最小二乘误差加进去就更好了
  • 资源不错,计算得到的椭圆参数与实际符合得比较好,通过仿射变换后得到的圆与真实值比较接近,就是边缘有一些锯齿效应。
  • 资源不错,计算得到的椭圆参数与实际符合得比较好,通过仿射变换后得到的圆与真实值比较接近,就是边缘有一些锯齿效应。 .
  • 资源不错,计算得到的椭圆参数与实际符合得比较好,通过仿射变换后得到的圆与真实值比较接近,就是边缘有一些锯齿效应。