I'd suggest something like teh attached changeset that improves the speed but keeps teh code compatible. D. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: patch8521 Url: https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20080910/6cf190df/attachment.ksh