hello Dr.Yi
This code is working good for N<=150
but when N exceeds this limit, a nonsense happens
Is there any improvement to the code considering this error?
@Pierre: Thanks, good catch! I'll put a new one up shortly that checks explicitly for an axes handle.
@Valeria: The order of the axes is not specified - there is no guarantee that the first will be the major axis. If you want to enforce this it's a trivial modification.
First, thank you for this code.
Just a comment on this part of this code.
if ishandle(varargin{1})
hAx = varargin{1};
varargin(1) = [];
else
hAx = gca();
end
If a figure 1 is open and you try to draw an ellipse with a center at [1,1], it will take take these coordinates as a reference. Not an obvious error...
run the code as below in command window:
n=3
:
:
end
has an error:
??? Undefined function or method 'ekf' for input arguments of type
'function_handle'.
how to run these codes?
Comment only