From: Matt Fig on
Just an error in 2007b. Good find.
From: Yuri Geshelin on
"Matt J " <mattjacREMOVE(a)THISieee.spam> wrote in message <hpfk5l$6gc$1(a)fred.mathworks.com>...
> "Oliver Woodford" <o.j.woodford.98(a)cantab.net> wrote in message <hpfh9q$i41$1(a)fred.mathworks.com>...
>
> > This also crashes my MATLAB 2010a on 32 bit Windows XP.
> ======
>
> R2009b as well.

Version 7.7.0.471 (R2008b):

These 3 lines cause crash. Replacing

a(logical(0./a)) = 0;

with

i = logical(0./a); a(i) = 0;

does not initialize variable i. Hence the "Uninitialized subscript" error message.