First of all, my compliments about this work-excellent!
I am trying to write the code and have some questions because i am beginner with matlab.When i try to declare the function(function [z, a, b, alpha] = fitellipse(x, varargin)) i become an error like this:
Error: Function definitions are not permitted in this context.
Without this later i can't use the function because it isn't defined~!
I would be gratefull if you help me,because i really need this.
Thanks in advance