From: TideMan on
On Apr 6, 8:13 am, "Eamonn B" <pakblu...(a)gmail.com> wrote:
> I deleted some of the code in the second function
>
> There are two points in upper and i appends the next point to upper.
>
> Whats the difference between an array and a vector?

Well, how can we help with debugging your code if you don't show us
the important bits?

Look at Getting Started in Matlab Help to find out the differences
between arrays, matrices, vectors and scalars.
From: Eamonn B on
I got this to work by moving the 'if statements' into the second class.

Thanks for your help