Date: Feb 3, 2013 4:38 AM Author: Bruno Luong Subject: Re: Matrix dimensions must agree error
> Error in ==> groupindex at 3
> y = L.*diff(n1);
When you get a diff you get the differences between two consecutive elements. Therefore there is 1 less element than the original vector.
Bruno